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

Unable to download videos from a certain length #32989

Closed
1 task
piiskop opened this issue Dec 8, 2024 · 4 comments
Closed
1 task

Unable to download videos from a certain length #32989

piiskop opened this issue Dec 8, 2024 · 4 comments

Comments

@piiskop
Copy link

piiskop commented Dec 8, 2024

Checklist

  • I'm reporting a broken site support issue
  • [ x] I've verified that I'm running youtube-dl version 2021.12.17
  • [x ] I've checked that all provided URLs are alive and playable in a browser
  • [x ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • [x ] I've searched the bugtracker for similar bug reports including closed ones
  • [ x] I've read bugs section in FAQ

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Single file build
[debug] Python 3.12.3 (CPython x86_64 64bit) - Linux-6.8.0-49-generic-x86_64-with-glibc2.39 - OpenSSL 3.0.13 30 Jan 2024 - glibc 2.39
[debug] exe versions: ffmpeg 6.1.1, ffprobe 6.1.1
[debug] Proxy map: {}
Usage: youtube-dl [OPTIONS] URL [URL...]

youtube-dl: error: You must provide at least one URL.
Type youtube-dl --help to see a list of all options.

Description

If a video has a certain length up to a certain length then the download happens successfully. However starting from a certain length, I always get something like this:

peacecopkalmer@peacecop-kalmer-GL752VW:~$ youtube-dl https://youtu.be/SPnDiWnNN5c

[youtube] SPnDiWnNN5c: Downloading webpage
[youtube] SPnDiWnNN5c: Downloading player 62ccfae7
[dashsegments] Total fragments: 1
[download] Destination: Ei minä ei huoli täst' kotkasta, mulle piisab kullista.-SPnDiWnNN5c.f134.mp4
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 1 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 2 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 3 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 4 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 5 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 6 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 7 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 8 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 9 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 10 of 10)...
ERROR: giving up after 10 fragment retries

@piiskop
Copy link
Author

piiskop commented Dec 8, 2024

Actually, it does even not depend on the length, maybe size.

@dirkf
Copy link
Contributor

dirkf commented Dec 8, 2024

It depends on not having used a work-around according to #32905.

@dirkf dirkf closed this as not planned Won't fix, can't repro, duplicate, stale Dec 8, 2024
@piiskop
Copy link
Author

piiskop commented Dec 8, 2024

What work-around must be done then? They are writing about some mobile UA's. I am using on CLI.

@dirkf
Copy link
Contributor

dirkf commented Dec 8, 2024

Follow the example posted, using the --user-agent ... command-line parameter to pass the fake mobile UA (rather than one of the fake UAs that would be sent by default).

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

No branches or pull requests

2 participants