omansak / libvideo

A lightweight .NET library to download YouTube videos.
BSD 2-Clause "Simplified" License
553 stars 163 forks source link

GetEncryptionFunction Failed version 2.03 #139

Closed kkfrosty closed 4 years ago

kkfrosty commented 5 years ago

` var source = filePath; var youtube = YouTube.Default; var vid = youtube.GetVideo(youTubeUrl);

        File.WriteAllBytes(source + vid.FullName, vid.GetBytes()); < -- Fails here

        var inputFile = new MediaFile { Filename = source + vid.FullName };
        var outputFile = new MediaFile { Filename = $"{mp3Name}.mp3" };

        using (var engine = new Engine())
        {
            engine.GetMetadata(inputFile);

            engine.Convert(inputFile, outputFile);
        }

`

Gr3gorywolf commented 5 years ago

@omansak do u know the new decrypt regex??

omansak commented 5 years ago

My fork has no issue.

Headhuntez commented 5 years ago

My fork has no issue.

how to set your fork? I installed the package with gunet. as I understand it is the original. and how to replace it with your fork, please help, I'm a complete beginner.

(I got the same error)

TheUnstoppable commented 5 years ago

YouTube probably changed their encrpytion system, or something related to it. Because most of the newest musics, or contents fails. (Issue #138 )

kkfrosty commented 5 years ago

There is an issue, I use HD Video Converter Factory and it works with the same links.

omansak commented 4 years ago

@Gr3gorywolf i pushed update at my fork maybe can you test ?

Gr3gorywolf commented 4 years ago

@omansak what u changed un the last commit?

omansak commented 4 years ago

Some videos has problem such as Normal : Alr26K0F4EQ Encrypted : ADxntEqPysA

Kulu-M commented 4 years ago

@omansak What is the best way to run your fork? I guess it is not on Nuget?

omansak commented 4 years ago

Fixed. Update 3.0.0