flagbug / YoutubeExtractor

A .NET library, that allows to download videos from YouTube and/or extract their audio track (currently only for flash videos).
814 stars 374 forks source link

Can't get working download link, if Youtube licensed Music is in it. #355

Open martinhaintz opened 5 years ago

martinhaintz commented 5 years ago

Hey,

I am using the YoutubeExtractor Library for a couple of month now and it worked very well, but yesterday i ran into problems. I tried the Library on this[1] YoutubeVideo and i received an exception[3].

It looks like the Library has problems, if there is a licensed song in the video. This Video[2] works without a problem. I also found out, that the videos with licensed songs have an signature and it looks like there is a problem with the decryption.

Does anybody have an idea how to fix this?

[1] https://www.youtube.com/watch?v=7F--wQVviSI [2] https://www.youtube.com/watch?v=qC2IgfXK934 [3]image

cmd64 commented 5 years ago

@Ley87 Recently decrypt functions changed. If YoutubeExtractor not updating these functions automatically you can't download always it getting HTTP 403 error on background process.

You can use this tampermonkey script on browser https://greasyfork.org/en/scripts/369400-local-youtube-downloader