C# Class OnlineVideos.Sites.JSurf.AmazonPrimeSiteUtil

General Util class for web automation - that is where we load the information by scraping the website and play via a browser
Inheritance: SiteUtilBase, IBrowserVersionEmulation, IInputStreamSite
Afficher le fichier Open project: offbyoneBB/mp-onlinevideos2

Méthodes publiques

Méthode Description
DiscoverDynamicCategories ( ) : int

Override the loading of main categories

DiscoverNextPageCategories ( NextPageCategory nextPagecategory ) : int

Get the next page of categories

DiscoverSubCategories ( Category parentCategory ) : int

Override the loading of sub categories

GetMultipleVideoUrls ( System.VideoInfo video, bool inPlaylist = false ) : List
GetStreamProperties ( System.VideoInfo videoInfo, string>.Dictionary &properties ) : bool
GetVideos ( Category category ) : List

Load the list of videos - see if they've been pre-loaded when populating categories or not

Initialize ( SiteSettings siteSettings ) : void

Set the Web Automation Description from the enum

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

Private Methods

Méthode Description
BuildCategories ( Category parentCategory, IList categoriesToPopulate ) : void

Build the specified category list

BuildVideos ( IList videosToPopulate, Category parentCategory ) : void

Build the video list for the specified category

GetCategorySortField ( Category categ ) : string

Get the sort field for the category

Method Details

DiscoverDynamicCategories() public méthode

Override the loading of main categories
public DiscoverDynamicCategories ( ) : int
Résultat int

DiscoverNextPageCategories() public méthode

Get the next page of categories
public DiscoverNextPageCategories ( NextPageCategory nextPagecategory ) : int
nextPagecategory NextPageCategory
Résultat int

DiscoverSubCategories() public méthode

Override the loading of sub categories
public DiscoverSubCategories ( Category parentCategory ) : int
parentCategory Category
Résultat int

GetMultipleVideoUrls() public méthode

public GetMultipleVideoUrls ( System.VideoInfo video, bool inPlaylist = false ) : List
video System.VideoInfo
inPlaylist bool
Résultat List

GetStreamProperties() public méthode

public GetStreamProperties ( System.VideoInfo videoInfo, string>.Dictionary &properties ) : bool
videoInfo System.VideoInfo
properties string>.Dictionary
Résultat bool

GetVideos() public méthode

Load the list of videos - see if they've been pre-loaded when populating categories or not
public GetVideos ( Category category ) : List
category Category
Résultat List

Initialize() public méthode

Set the Web Automation Description from the enum
public Initialize ( SiteSettings siteSettings ) : void
siteSettings SiteSettings
Résultat void

Search() public méthode

public Search ( string query, string category = null ) : List
query string
category string
Résultat List