Method | Description | |
---|---|---|
DecryptDownloadUrl ( VideoInfo videoInfo ) : void |
Decrypts the signature in the VideoInfo.DownloadUrl property and sets it to the decrypted URL. Use this method, if you have decryptSignature in the
|
|
GetDownloadUrls ( string videoUrl, bool decryptSignature = true ) : IEnumerable |
Gets a list of VideoInfos for the specified URL.
|
|
GetDownloadUrlsAsync ( string videoUrl, bool decryptSignature = true ) : System.Threading.Tasks.Task |
||
TryNormalizeYoutubeUrl ( string url, string &normalizedUrl ) : bool |
Normalizes the given YouTube URL to the format http://youtube.com/watch?v={youtube-id} and returns whether the normalization was successful or not.
|
Method | Description | |
---|---|---|
ExtractDownloadUrls ( JObject json ) : IEnumerable |
||
GetAdaptiveStreamMap ( JObject json ) : string | ||
GetDecipheredSignature ( string htmlPlayerVersion, string signature ) : string | ||
GetHtml5PlayerVersion ( JObject json ) : string | ||
GetStreamMap ( JObject json ) : string | ||
GetVideoInfos ( IEnumerable |
||
GetVideoTitle ( JObject json ) : string | ||
IsVideoUnavailable ( string pageSource ) : bool | ||
LoadJson ( string url ) : JObject | ||
ThrowYoutubeParseException ( |
public static DecryptDownloadUrl ( VideoInfo videoInfo ) : void | ||
videoInfo | VideoInfo | The video info which's downlaod URL should be decrypted. |
return | void |
public static GetDownloadUrls ( string videoUrl, bool decryptSignature = true ) : IEnumerable |
||
videoUrl | string | The URL of the YouTube video. |
decryptSignature | bool |
/// A value indicating whether the video signatures should be decrypted or not. Decrypting
/// consists of a HTTP request for each |
return | IEnumerable |
public static GetDownloadUrlsAsync ( string videoUrl, bool decryptSignature = true ) : System.Threading.Tasks.Task |
||
videoUrl | string | |
decryptSignature | bool | |
return | System.Threading.Tasks.Task |
public static TryNormalizeYoutubeUrl ( string url, string &normalizedUrl ) : bool | ||
url | string | The YouTube URL to normalize. |
normalizedUrl | string | The normalized YouTube URL. |
return | bool |