Rudloff / alltube

Web GUI for youtube-dl
GNU General Public License v3.0
2.96k stars 582 forks source link

Some videos won't download from YouTube #300

Closed viktor02 closed 3 years ago

viktor02 commented 4 years ago

Some videos won't download from YouTube

Your environment

I use your https://alltubedownload.net

Please provide the URL of a video that causes the issue. https://youtu.be/llmWH99cJBo https://youtu.be/Bknc2lLj_N4

Describe your issue

https://youtu.be/Bknc2lLj_N4 ![изображение](https://user-images.githubusercontent.com/19672960/88841365-8b6bc300-d1e6-11ea-8c34-baee838253e9.png)
https://youtu.be/llmWH99cJBo ![изображение](https://user-images.githubusercontent.com/19672960/88841188-3e87ec80-d1e6-11ea-9482-532274379676.png)
Rudloff commented 4 years ago

Thanks for the report.

I can't reproduce the issue with https://youtu.be/llmWH99cJBo.

It seems https://youtu.be/Bknc2lLj_N4 fails because it is a restricted video: https://github.com/ytdl-org/youtube-dl/issues/26152

psistorm commented 3 years ago

Same issue with: https://youtu.be/JlJcFg4ox_s

Might be related to this issue in yt-dl which was fixed in July with this PR This is a video for kids, might be the issue if not handled correctly on download.

Rudloff commented 3 years ago

I can't watch https://www.youtube.com/watch?v=JlJcFg4ox_s&feature=youtu.be, it seems to require Youtube Premium

I upgraded youtube-dl on the develop branch and now https://www.youtube.com/watch?v=Bknc2lLj_N4&feature=youtu.be downloads correctly, so I am closing.

psistorm commented 3 years ago

Any chance to allow YouTube login and store those cookies for alltube to be able to use this login to download Premium videos as well? Or is this not possible via the YouTube API?

Rudloff commented 3 years ago

It would theoretically be possible, but it would have to be supported by youtube-dl first.

psistorm commented 3 years ago

As I see it youtube-dl support it already when I handover a cookies.txt like youtube-dl --cookies /pathtocookiefile

Rudloff commented 3 years ago

What I meant was waiting for youtube-dl to not crash with the URL you gave. Also, please open a separate issue for this feature request.