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

Could not parse the Youtube page for URL http://youtube.com/watch?v= #329

@hazemkut1993

Description

@hazemkut1993

i'm using YoutubeExtractor in my vb.net project to download the youtube

but i'm getting this erorr

Could not parse the Youtube page for URL http://youtube.com/watch?v=YQHsXMglC9A This may be due to a change of the Youtube page structure. Please report this bug at www.github.com/flagbug/YoutubeExtractor/issues

this image for the erorr

https://i.imgur.com/g8bUrlk.png

my code is

Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
        Dim vInfos As IEnumerable(Of VideoInfo)
        vInfos = DownloadUrlResolver.GetDownloadUrls(TextBox1.Text, False)


        ComboBox1.Items.Clear()

        Dim listDL As New List(Of String)
        Dim listExt As New List(Of String)

        Dim blnFlag As Boolean = True
        For Each vi As VideoInfo In vInfos
            If blnFlag = True Then
                strDefTitle = vi.Title
                blnFlag = False
            End If
            Dim strQuality As String
            strQuality = "Resoultion: " & vi.Resolution & " Format: " & vi.VideoExtension
            ComboBox1.Items.Add(strQuality)

            'If the video has a decrypted signature, decipher it
            If vi.RequiresDecryption Then
                DownloadUrlResolver.DecryptDownloadUrl(vi)
            End If

            listDL.Add(vi.DownloadUrl)
            listExt.Add(vi.VideoExtension)

        Next
        strArrayLinks = listDL.ToArray
        strArrayExts = listExt.ToArray

    End Sub

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions