-
Notifications
You must be signed in to change notification settings - Fork 10k
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
[Vimeo] HTTP Error 406: Not Acceptable when downloading video #32959
Comments
From recollection of yt-dlp issues, 406 might just mean that we're not asking for
Any further data points regarding Vimeo are welcome as I won't have popped the stack down to my Vimeo WIP for a while. |
That's very reasonable. I didn't know what to do about this issue for a while now. If you decide not to support it, would you consider improving the error message, suggesting other tools? It would really help lost users. BTW, I have this PR #26636 about a improving different Vimeo error message that's been patiently waiting for attention :) |
Anyhow, yt-dlp/yt-dlp#9125 was the fix there. |
And then: $ python -m youtube_dl -vF 'https://vimeo.com/9010456'
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-vF', u'https://vimeo.com/9010456']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Git HEAD: f7dc45d3a
[debug] Python 2.7.15 (CPython i686 32bit) - Linux-6.1.0-25-686-pae-i686-with-debian-12.7 - OpenSSL 1.1.1a 20 Nov 2018 - glibc 2.1.3
[debug] exe versions: ffmpeg 5.1.6-0, ffprobe 5.1.6-0
[debug] Proxy map: {}
[vimeo] 9010456: Downloading webpage
[vimeo] 9010456: Downloading JSON metadata
[vimeo] 9010456: Downloading JSON metadata
[vimeo] 9010456: Downloading JSON metadata
[vimeo] 9010456: Downloading akfire_interconnect_quic m3u8 information
[vimeo] 9010456: Downloading fastly_skyfire m3u8 information
[vimeo] 9010456: Downloading akfire_interconnect_quic MPD information
WARNING: [vimeo] 9010456: Failed to parse XML not well-formed (invalid token): line 1, column 0
[vimeo] 9010456: Downloading fastly_skyfire MPD information
WARNING: [vimeo] 9010456: Failed to parse XML not well-formed (invalid token): line 1, column 0
[info] Available formats for 9010456:
format code extension resolution note
hls-akfire_interconnect_quic-audio-high-Original mp4 audio only
hls-fastly_skyfire-audio-high-Original mp4 audio only
hls-akfire_interconnect_quic-318 mp4 360x272 318k , avc1.64001F, 30.0fps, video only
hls-fastly_skyfire-318 mp4 360x272 318k , avc1.64001F, 30.0fps, video only
http-240p mp4 360x272 30fps (best)
$ |
I fixed it myself just as you posted this :) salty-horse@9a45840 |
Checklist
Verbose log
Description
I think Vimeo added some protections, and youtube-dl needs to adapt. For a while it returned 403 Forbidden and 429 Too Many Requests, and now it's returning 406.
I don't think it's related to #26421 from 2020, as, IIRC, I managed to download from Vimeo between then and now.
yt-dlp
successfully downloaded the video, and they have made changes to the Vimeo extractor in the past year, particularly adding browser impersonation. (See yt-dlp/yt-dlp#10325)The text was updated successfully, but these errors were encountered: