Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YouTube throttling download through yt-dl #30075

Closed
5 tasks done
pococito opened this issue Oct 8, 2021 · 17 comments
Closed
5 tasks done

YouTube throttling download through yt-dl #30075

pococito opened this issue Oct 8, 2021 · 17 comments

Comments

@pococito
Copy link

pococito commented Oct 8, 2021

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2021.06.06
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones

Verbose log

PASTE VERBOSE LOG HERE

Description

Videos on YouTube play normally through a browser, but YouTube seems to be discovering yt-dl and throttling download speed to several KB/s instead of MB/s, like it used to work a few days ago. I get the same consistent throttling since a few days. Does anyone else experience this?

@MobyGamer
Copy link

Yes, I noticed that too just now. Throttling between 50-70KB/s.

@pococito
Copy link
Author

pococito commented Oct 8, 2021

Yes, I noticed that too just now. Throttling between 50-70KB/s.

I get the same numbers.

@pukkandan
Copy link
Contributor

Duplicate of #29326

@fastily
Copy link

fastily commented Oct 9, 2021

youtube-dl isn't being actively maintained. This is a fixed issue in the spiritual successor to youtube-dl, yt-dlp

@pococito
Copy link
Author

pococito commented Oct 9, 2021

@fastily - thanks, dlp works well

@onionware-github
Copy link

youtube-dl isn't being actively maintained. This is a fixed issue in the spiritual successor to youtube-dl, yt-dlp

Is yt-dlp legal? I'm not completely sure, but I saw the output "Downloading android player API JSON" on the console. Isn't the use of the Youtube API prohibited by downloader programs? I don't know my way around that well.

@triplesixman
Copy link

Is yt-dlp legal? I'm not completely sure, but I saw the output "Downloading android player API JSON" on the console. Isn't the use of the Youtube API prohibited by downloader programs? I don't know my way around that well.

How could it be prohibited? If you start from this principle, youtube-dl is illegal because youtube forbids downloading their videos. But you have to remember that google/youtube is not above the law and the fact that they forbid it doesn't necessarily mean it's illegal.

@kapilbhosale
Copy link

Yep, Facing the same issue.

@rautamiekka
Copy link
Contributor

Is yt-dlp legal? I'm not completely sure, but I saw the output "Downloading android player API JSON" on the console. Isn't the use of the Youtube API prohibited by downloader programs? I don't know my way around that well.

How could it be prohibited? If you start from this principle, youtube-dl is illegal because youtube forbids downloading their videos. But you have to remember that google/youtube is not above the law and the fact that they forbid it doesn't necessarily mean it's illegal.

Amen to all of that, it had to be said and glad someone did.

While, maybe, probly, possibly, someone could make their argument in court barely outlaw something like ytdl through the all-binding contract side of the law, it's a rather huge stretch even in American court system, so I 100% agree with you.

@speaknowpotato
Copy link

speaknowpotato commented Oct 12, 2021

thanks @fastily , yt-dlp works!

@NipLars
Copy link

NipLars commented Oct 13, 2021

Sorry, I just filed a new report on this, did not read properly and associate this thread with my issue.
Is it just youtube-dl or general download limitation now?

Thinking if identified by Google, that Http User-Agent can be changed or let us assign the text for it ourselves so not trackable by Google?
Many browser has this kind of plugin to alter user agent and works very well to fix that a site does not work so well.

@3unjee
Copy link

3unjee commented Oct 13, 2021

I'm facing throttling too both on youtube-dl and the video player I'm maintaining.

If it's fixed on yt-dlp would anyone give details on what causes the stream to be throttled technically on YouTube side ?

@triplesixman
Copy link

If it's fixed on yt-dlp would anyone give details on what causes the stream to be throttled technically on YouTube side ?

Hi, the problem is detailed here as well as its solution: #29326 (comment)

Now someone needs to work on this fix and apply it to youtube-dl. But I guess it won't be done before several months, or even next year (considering the workload and the inactivity of the current owner of youtube-dl).

@3unjee
Copy link

3unjee commented Oct 13, 2021

I believe yt-dlp is solving throttling through the Android API at the moment. Am I right ?

@chris-short
Copy link

chris-short commented Nov 3, 2021

After downloading yt-dlp on the same system, it sure does look like youtube-dl is being throttled.

@dirkf
Copy link
Contributor

dirkf commented Jan 31, 2022

Closed in af9e725.

@dirkf dirkf closed this as completed Jan 31, 2022
@melMass
Copy link

melMass commented May 2, 2022

I had no idea youtube-dl was behind, yt-dlp indeed solves the throttling issue.
Thanks

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

Successfully merging a pull request may close this issue.