[YouTube] Implement optional YouTube server-imposed throttling bypass
See original GitHub issueChecklist
- I’m reporting a site feature request
- I’ve verified that I’m running youtube-dl version 2021.04.17
- I’ve searched the bugtracker for similar site feature requests including closed ones
Description
First of all, thanks for your amazing software 👍🏻
Recently the following issue is occurring increasingly frequent: In some cases when downloading from YouTube (especially YT Music), the server throttles download speed to 58-60 KiB/s. (My internet connection however is stable and has a constant 4-6 MiB/s bandwith.) This happens in a pattern that I cannot describe more precisely right now. However it seems mostly random but associated to the download url from the extracted info_dict, since --http-chunk-size
doesn’t solve the issue but interrupting the download completely and immediately restarting (video is extracted again) solves the issue most of the time.
If nobody else can come up with another solution, I would recommend implementing a new CLI flag that will cause a check of the download speed against a threshold and will interrupt download and restart the extraction completely if the download speed falls under the threshold (for some amount of time?).
I would be incredibly grateful for a workaround! ❤️ I don’t feel comfortable enough in Python to implement one myself and request a push… 😉
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:18 (1 by maintainers)
Top GitHub Comments
The following merged PRs fix this issue:
To benefit from these you have to install from the git master until the useless sob maintainer makes a new release.
legend has it he’s the worst github maintainer since that Gamer191 guy, who tried to create a repository that’s sole purpose was to host a useless yt-dlp git diff