C# Class OnlineVideos.Sites.JSurf.ConnectorImplementations.AmazonPrime.Connectors.AmazonBrowserSession

Inheritance: BrowserSessionBase
Afficher le fichier Open project: offbyoneBB/mp-onlinevideos2 Class Usage Examples

Protected Properties

Свойство Type Description
TypeIDs string>.Dictionary

Méthodes publiques

Méthode Description
AmazonBrowserSession ( ) : System
GetCookies ( string url ) : CookieContainer
GetInputStreamProperties ( string asin, string &streamUrl, string &licUrl, string>.Dictionary &additionalTags ) : bool
GetUrldata ( string mode, string>.Dictionary values, string retformat = "json", string devicetypeid = null, int version = 1, string firmware = "1", string opt = "", bool extra = false, CookieContainer useCookie = null, bool retURL = false, string vMT = "Feature", string dRes = "AudioVideoUrls%2CSubtitleUrls" ) : System.Result
Login ( string username, string password, bool forceLogin = false ) : void
RunSTAThreaded ( ThreadStart threadStart ) : Thread

Starts a new thread using STA apartment state (ApartmentState.STA). This is required for accessing some windows features like the clipboard.

Méthodes protégées

Méthode Description
GetATVDataJSON ( string pgMode, string query = "", int version = 2, CookieContainer useCookie = null, string siteId = null ) : JToken

Private Methods

Méthode Description
DownloadAndConvertSubtitle ( string asin, string displayName, string url, string &fakeFilename, string &subtitlePath ) : bool
GetFlashVars ( string asin ) : string>.Dictionary

Method Details

AmazonBrowserSession() public méthode

public AmazonBrowserSession ( ) : System
Résultat System

GetATVDataJSON() protected méthode

protected GetATVDataJSON ( string pgMode, string query = "", int version = 2, CookieContainer useCookie = null, string siteId = null ) : JToken
pgMode string
query string
version int
useCookie System.Net.CookieContainer
siteId string
Résultat JToken

GetCookies() public méthode

public GetCookies ( string url ) : CookieContainer
url string
Résultat System.Net.CookieContainer

GetInputStreamProperties() public méthode

public GetInputStreamProperties ( string asin, string &streamUrl, string &licUrl, string>.Dictionary &additionalTags ) : bool
asin string
streamUrl string
licUrl string
additionalTags string>.Dictionary
Résultat bool

GetUrldata() public méthode

public GetUrldata ( string mode, string>.Dictionary values, string retformat = "json", string devicetypeid = null, int version = 1, string firmware = "1", string opt = "", bool extra = false, CookieContainer useCookie = null, bool retURL = false, string vMT = "Feature", string dRes = "AudioVideoUrls%2CSubtitleUrls" ) : System.Result
mode string
values string>.Dictionary
retformat string
devicetypeid string
version int
firmware string
opt string
extra bool
useCookie System.Net.CookieContainer
retURL bool
vMT string
dRes string
Résultat System.Result

Login() public méthode

public Login ( string username, string password, bool forceLogin = false ) : void
username string
password string
forceLogin bool
Résultat void

RunSTAThreaded() public static méthode

Starts a new thread using STA apartment state (ApartmentState.STA). This is required for accessing some windows features like the clipboard.
public static RunSTAThreaded ( ThreadStart threadStart ) : Thread
threadStart ThreadStart Thread to start.
Résultat Thread

Property Details

TypeIDs protected_oe property

protected Dictionary TypeIDs
Résultat string>.Dictionary