Skip to content
This repository has been archived by the owner on Sep 28, 2020. It is now read-only.

Couldn't parse the YouTube page with any links I tried #354

Open
SykoticCataclysm opened this issue Apr 10, 2019 · 8 comments
Open

Couldn't parse the YouTube page with any links I tried #354

SykoticCataclysm opened this issue Apr 10, 2019 · 8 comments

Comments

@SykoticCataclysm
Copy link

SykoticCataclysm commented Apr 10, 2019

https://gyazo.com/704cf89a9777accc6ad7b4c96bb3ad58

^^ The error I'm getting. Anyone got any fixes?

The line it highlights is " var formats = DownloadUrlResolves.GetDownloadUrls(Url, false); "

@Oszkar1977
Copy link

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();
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;
    }

@cmd64
Copy link

cmd64 commented May 15, 2019

Hey @Oszkar1977
I changed signature on my fork. Can you try it?
https://github.com/cmd64/YoutubeExtractor

@aqibbanday
Copy link

@cmd64 This works thanks. Someone upload this to nuget

@Oszkar1977
Copy link

Oszkar1977 commented May 16, 2019 via email

@SoftwareMagicIT
Copy link

Thanks cmd64 ;-)

@cloudwo
Copy link

cloudwo commented Jun 21, 2019

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.

@erlange
Copy link

erlange commented Nov 1, 2019

Hey @Oszkar1977
I changed signature on my fork. Can you try it?
https://github.com/cmd64/YoutubeExtractor

Your fork works. Thanks mate

@bhavya-dang
Copy link

@cmd64 What do you mean by signature? I downloaded the clone from your forked repo. What should I do now?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants