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

Add workaround for issue upstream #72

Merged
merged 3 commits into from Jul 17, 2021

Conversation

Evernow
Copy link
Contributor

@Evernow Evernow commented Jul 14, 2021

Hello.

These commits add the following arguments to workaround an issue upstream relating to slow downloads over long periods of time.

--extractor-args youtube:player_client=android: Bypass the throttling for non age-gated videos.

--throttled-rate 100K: For age-gated videos that are detected to be throttled, it will restart the download.

Main obstacle is that during tested I found that the --extractor-args youtube:player_client=android argument currently breaks --get-comments. I have reported this upstream. This can either be merged with only the (No comments) scripts having the addition, or wait till it is hopefully fixed upstream.

Also worth noting, this requires the latest version of yt-dlp, 2021.07.07.

@TheFrenchGhosty
Copy link
Owner

This is something I planed to add, thanks a lot for doing it!

@TheFrenchGhosty TheFrenchGhosty merged commit 3b0cfaf into TheFrenchGhosty:master Jul 17, 2021
TheFrenchGhosty added a commit that referenced this pull request Jul 17, 2021
@Evernow
Copy link
Contributor Author

Evernow commented Jul 22, 2021

Issues were fixed in the latest release: https://github.com/yt-dlp/yt-dlp/releases/tag/2021.07.21

Should work fine now.

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

Successfully merging this pull request may close these issues.

None yet

2 participants