YoutubeExtractor
YoutubeExtractor copied to clipboard
Does not work
Can get it to work :(
{"Could not parse the Youtube page for URL http://youtube.com/watch?v=q04EQj3tKo0\nThis may be due to a change of the Youtube page structure.\nPlease report this bug at www.github.com/flagbug/YoutubeExtractor/issues"}
Help?
hey, this helped me:
Replace GetHtml5PlayerVersion() in DownloadUrlResolver.cs with this:
private static string GetHtml5PlayerVersion(JObject json)
{
var regex = new Regex(@"player_ias-(.+?).js");
string js = json["assets"]["js"].ToString();
Match match = regex.Match(js);
if (match.Success) return match.Result("$1");
regex = new Regex(@"player-(.+?).js");
return regex.Match(js).Result("$1");
}
You will then need to rebuild your Project
I can downloadVideo, but when i try to DownloadAudio, all the infos have the CanExtractAudio property set to false. Whats up with that, can anybody help?