C# Class OnlineVideos.Sites.SvtPlayUtil

Inheritance: OnlineVideos.Sites.LatestVideosSiteUtilBase
显示文件 Open project: offbyoneBB/mp-onlinevideos2

Public Methods

Method Description
DiscoverDynamicCategories ( ) : int
DiscoverSubCategories ( Category parentCategory ) : int
GetFileNameForDownload ( VideoInfo video, Category category, string url ) : string
GetLatestVideos ( ) : List
GetMultipleVideoUrls ( VideoInfo video, bool inPlaylist = false ) : List
GetNextPageVideos ( ) : List
GetTrackingInfo ( VideoInfo video ) : ITrackingInfo
GetVideos ( Category category ) : List
Search ( string query, string category = null ) : List

Private Methods

Method Description
GetCategoriesFromJArray ( Category parentCategory, Newtonsoft.Json.Linq.JArray array, bool getGenres ) : List
GetCategoriesFromRecomendationJson ( Category parentCategory, bool getGenres ) : List
GetChannelVideos ( ) : List
GetProgramCategories ( Category parentCategory ) : List
GetProgramCategoriesAndVideos ( Category parentCategory ) : List
GetTagCategories ( Category parentCategory ) : List
GetVideos ( Newtonsoft.Json.Linq.JArray jVideos ) : List
GetVideos ( string url, uint page, bool &hasNext ) : List

Method Details

DiscoverDynamicCategories() public method

public DiscoverDynamicCategories ( ) : int
return int

DiscoverSubCategories() public method

public DiscoverSubCategories ( Category parentCategory ) : int
parentCategory Category
return int

GetFileNameForDownload() public method

public GetFileNameForDownload ( VideoInfo video, Category category, string url ) : string
video VideoInfo
category Category
url string
return string

GetLatestVideos() public method

public GetLatestVideos ( ) : List
return List

GetMultipleVideoUrls() public method

public GetMultipleVideoUrls ( VideoInfo video, bool inPlaylist = false ) : List
video VideoInfo
inPlaylist bool
return List

GetNextPageVideos() public method

public GetNextPageVideos ( ) : List
return List

GetTrackingInfo() public method

public GetTrackingInfo ( VideoInfo video ) : ITrackingInfo
video VideoInfo
return ITrackingInfo

GetVideos() public method

public GetVideos ( Category category ) : List
category Category
return List

Search() public method

public Search ( string query, string category = null ) : List
query string
category string
return List