C# Class JryVideo.Core.Douban.DoubanHelper

Mostrar archivo Open project: Cologler/JRYVideo

Public Methods

Method Description
GetLargeImageUrl ( this json ) : string
GetMovieCoverRequest ( this json ) : IEnumerable
ParseName ( Jasily.SDK.Douban.Entities.Artist json ) : IEnumerable
ParseName ( this json ) : IEnumerable
TryGetArtistInfoAsync ( string doubanId ) : Task
TryGetImdbIdAsync ( string doubanId ) : Task
TryGetMovieHtmlAsync ( string doubanId ) : Task
TryGetMovieInfoAsync ( string doubanId ) : Task
TryParseImdbId ( string html ) : string
TryParseReleaseDate ( string html ) : DateTime?

Private Methods

Method Description
GetRawImageUrl ( Jasily.SDK.Douban.Entities.Movie json ) : string
PrintInDebug ( WebResult result ) : void
TryParseReleaseDateString ( string html ) : string

Method Details

GetLargeImageUrl() public static method

public static GetLargeImageUrl ( this json ) : string
json this
return string

GetMovieCoverRequest() public static method

public static GetMovieCoverRequest ( this json ) : IEnumerable
json this
return IEnumerable

ParseName() public static method

public static ParseName ( Jasily.SDK.Douban.Entities.Artist json ) : IEnumerable
json Jasily.SDK.Douban.Entities.Artist
return IEnumerable

ParseName() public static method

public static ParseName ( this json ) : IEnumerable
json this
return IEnumerable

TryGetArtistInfoAsync() public static method

public static TryGetArtistInfoAsync ( string doubanId ) : Task
doubanId string
return Task

TryGetImdbIdAsync() public static method

public static TryGetImdbIdAsync ( string doubanId ) : Task
doubanId string
return Task

TryGetMovieHtmlAsync() public static method

public static TryGetMovieHtmlAsync ( string doubanId ) : Task
doubanId string
return Task

TryGetMovieInfoAsync() public static method

public static TryGetMovieInfoAsync ( string doubanId ) : Task
doubanId string
return Task

TryParseImdbId() public static method

public static TryParseImdbId ( string html ) : string
html string
return string

TryParseReleaseDate() public static method

public static TryParseReleaseDate ( string html ) : DateTime?
html string
return DateTime?