YoutubeExtractor
YoutubeExtractor copied to clipboard
Couldn't parse the YouTube page with any links I tried
https://gyazo.com/704cf89a9777accc6ad7b4c96bb3ad58
^^ The error I'm getting. Anyone got any fixes?
The line it highlights is " var formats = DownloadUrlResolves.GetDownloadUrls(Url, false); "
I am have a same problame. Is posibile Youtube is changed sam thinks in the URL structure private string[] FetchAvailabDownloadFormats(string strURL) { var videos = DownloadUrlResolver.GetDownloadUrls(strURL, false); string[] strVideos = new string[videos.Count()]; VInfos = new List<VideoInfo>(); int iterationCount = 0;
foreach (var video in videos)
{
if(iterationCount == 0)
{
lblVideoName.Text = video.Title;
}
strVideos[iterationCount++] = string.Format("Felbontás: {0}, Formátum: {1}",
video.Resolution, video.VideoExtension.Substring(1));
//iterationCount++; Megvalósítható a fenti egyszerű módon is.
VInfos.Add(video);
}
return strVideos;
}
Hey @Oszkar1977 I changed signature on my fork. Can you try it? https://github.com/cmd64/YoutubeExtractor
@cmd64 This works thanks. Someone upload this to nuget
I loooked youre fork. Thank, you for e-mail, but I d'nt was any time to try enithing :S
aqibbanday [email protected] ezt írta (időpont: 2019. máj. 16., Cs, 8:39):
@cmd64 https://github.com/cmd64 This works thanks. Someone upload this to nuget
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/flagbug/YoutubeExtractor/issues/354?email_source=notifications&email_token=AK4VBNYGUVELONYKOU7SZ43PVT6QTA5CNFSM4HFAS3HKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVQ2GYI#issuecomment-492938081, or mute the thread https://github.com/notifications/unsubscribe-auth/AK4VBNY7VS2CS2BRYY6FGXLPVT6QTANCNFSM4HFAS3HA .
-- Oszkár.
Thanks cmd64 ;-)
same Problem pls help YoutubeExtractor.YoutubeParseException HResult=0x80131500 Nachricht = Could not parse the Youtube page for URL http://youtube.com/watch?v=bA56y9L8Vdw This may be due to a change of the Youtube page structure. Please report this bug at www.github.com/flagbug/YoutubeExtractor/issues Quelle = YoutubeExtractor Stapelüberwachung: bei YoutubeExtractor.DownloadUrlResolver.ThrowYoutubeParseException(Exception innerException, String videoUrl) bei YoutubeExtractor.DownloadUrlResolver.GetDownloadUrls(String videoUrl, Boolean decryptSignature) bei YoutubeDownloadWindowsFormsApp.Form1.FetchAvailableDownloadFormats(String strUrl) in C:\Users\cdvst\source\repos\YoutubeDownloadWindowsFormsApp\Form1.cs: Zeile98 bei YoutubeDownloadWindowsFormsApp.Form1.GetDownLinksBtn_Click(Object sender, EventArgs e) in C:\Users\cdvst\source\repos\YoutubeDownloadWindowsFormsApp\Form1.cs: Zeile52 bei System.Windows.Forms.Control.OnClick(EventArgs e) bei System.Windows.Forms.Button.OnClick(EventArgs e) bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) bei System.Windows.Forms.Control.WndProc(Message& m) bei System.Windows.Forms.ButtonBase.WndProc(Message& m) bei System.Windows.Forms.Button.WndProc(Message& m) bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) bei System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData) bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) bei System.Windows.Forms.Application.Run(Form mainForm) bei YoutubeDownloadWindowsFormsApp.Program.Main() in C:\Users\cdvst\source\repos\YoutubeDownloadWindowsFormsApp\Program.cs: Zeile19
Innere Ausnahme 1: NotSupportedException: Das Ergebnis kann nicht für eine fehlgeschlagene Übereinstimmung aufgerufen werden.
Hey @Oszkar1977 I changed signature on my fork. Can you try it? https://github.com/cmd64/YoutubeExtractor
Your fork works. Thanks mate
@cmd64 What do you mean by signature? I downloaded the clone from your forked repo. What should I do now?