yt-dlp: [vimeo] Unable to download "source" videos?
Checklist
- I’m reporting that yt-dlp is broken on a supported site
- I’ve verified that I have updated yt-dlp to nightly or master (update instructions)
- I’ve checked that all provided URLs are playable in a browser with the same IP and same login details
- I’ve checked that all URLs and arguments with special characters are properly quoted or escaped
- I’ve searched known issues, the FAQ, and the bugtracker for similar issues including closed ones. DO NOT post duplicates
- I’ve read about sharing account credentials and I’m willing to share it if required
Region
CANADA
Provide a description that is worded well enough to be understood
I use these sample videos every now and then to check “source” functionality since I know these have “source” available.
Apologies, I didn’t realize the editor attempted to translate my sample placeholder into markup.
Provide verbose output that clearly demonstrates the problem
- Run your yt-dlp command with -vU flag added (
yt-dlp -vU <your command line>) - If using API, add
'verbose': TruetoYoutubeDLparams instead - Copy the WHOLE output (starting with
[debug] Command-line config) and insert it below
Complete Verbose Output
D:\>yt-dlp.exe https://vimeo.com/1084051003 --list-formats --cookies vimeo.com_cookies.txt -vU
[debug] Command-line config: ['https://vimeo.com/1084051003', '--list-formats', '--cookies', 'vimeo.com_cookies.txt', '-vU']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version nightly@2025.05.11.232911 from yt-dlp/yt-dlp-nightly-builds [586b557b1] (win_exe)
[debug] Python 3.10.11 (CPython AMD64 64bit) - Windows-10-10.0.10586-SP0 (OpenSSL 1.1.1t 7 Feb 2023)
[debug] exe versions: ffmpeg 7.1-full_build-www.gyan.dev (setts), ffprobe 7.1-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.22.0, brotli-1.1.0, certifi-2025.04.26, curl_cffi-0.10.0, mutagen-1.47.0, requests-2.32.3, sqlite3-3.40.1, urllib3-2.4.0, websockets-15.0.1
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Plugin directories: none
[debug] Loaded 1858 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version: nightly@2025.05.11.232911 from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date (nightly@2025.05.11.232911 from yt-dlp/yt-dlp-nightly-builds)
[vimeo] Extracting URL: https://vimeo.com/1084051003
[vimeo] 1084051003: Downloading webpage
[debug] Loading vimeo.oauth-token-ios from cache
[vimeo] 1084051003: Downloading API JSON
[vimeo] 1084051003: Downloading JSON metadata
[vimeo] 1084051003: Downloading akfire_interconnect_quic m3u8 information
[vimeo] 1084051003: Downloading fastly_skyfire m3u8 information
[vimeo] 1084051003: Downloading akfire_interconnect_quic MPD information
WARNING: [vimeo] 1084051003: Failed to parse XML: not well-formed (invalid token): line 1, column 0
[vimeo] 1084051003: Downloading fastly_skyfire MPD information
WARNING: [vimeo] 1084051003: Failed to parse XML: not well-formed (invalid token): line 1, column 0
[vimeo] 1084051003: Loading download config JSON
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, lang, vcodec, channels, acodec, size, br, asr, proto, vext, aext, hasaud, id
[info] Available formats for 1084051003:
ID EXT RESOLUTION FPS │ FILESIZE TBR PROTO │ VCODEC VBR ACODEC MORE INFO
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
hls-akfire_interconnect_quic-audio-high-Original mp4 audio only │ m3u8 │ audio only unknown Original
hls-fastly_skyfire-audio-high-Original mp4 audio only │ m3u8 │ audio only unknown Original
hls-akfire_interconnect_quic-400 mp4 426x240 30 │ ~253.63MiB 400k m3u8 │ avc1.640015 400k video only
hls-fastly_skyfire-400 mp4 426x240 30 │ ~253.63MiB 400k m3u8 │ avc1.640015 400k video only
hls-akfire_interconnect_quic-613 mp4 640x360 30 │ ~388.69MiB 613k m3u8 │ avc1.64001E 613k video only
hls-fastly_skyfire-613 mp4 640x360 30 │ ~388.69MiB 613k m3u8 │ avc1.64001E 613k video only
hls-akfire_interconnect_quic-1060 mp4 960x540 30 │ ~672.12MiB 1060k m3u8 │ avc1.64001F 1060k video only
hls-fastly_skyfire-1060 mp4 960x540 30 │ ~672.12MiB 1060k m3u8 │ avc1.64001F 1060k video only
hls-akfire_interconnect_quic-1758 mp4 1280x720 60 │ ~ 1.09GiB 1758k m3u8 │ avc1.640020 1758k video only
hls-fastly_skyfire-1758 mp4 1280x720 60 │ ~ 1.09GiB 1758k m3u8 │ avc1.640020 1758k video only
hls-akfire_interconnect_quic-4254 mp4 1920x1080 60 │ ~ 2.63GiB 4254k m3u8 │ avc1.64002A 4254k video only
hls-fastly_skyfire-4254 mp4 1920x1080 60 │ ~ 2.63GiB 4254k m3u8 │ avc1.64002A 4254k video only
D:\>yt-dlp.exe https://vimeo.com/1084051003 --list-formats --cookies-from-browser chrome -vU
[debug] Command-line config: ['https://vimeo.com/1084051003', '--list-formats', '--cookies-from-browser', 'chrome', '-vU']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version nightly@2025.05.11.232911 from yt-dlp/yt-dlp-nightly-builds [586b557b1] (win_exe)
[debug] Python 3.10.11 (CPython AMD64 64bit) - Windows-10-10.0.10586-SP0 (OpenSSL 1.1.1t 7 Feb 2023)
[debug] exe versions: ffmpeg 7.1-full_build-www.gyan.dev (setts), ffprobe 7.1-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.22.0, brotli-1.1.0, certifi-2025.04.26, curl_cffi-0.10.0, mutagen-1.47.0, requests-2.32.3, sqlite3-3.40.1, urllib3-2.4.0, websockets-15.0.1
[debug] Proxy map: {}
Extracting cookies from chrome
[debug] Extracting cookies from: "C:\Users\[User]\AppData\Local\Google\Chrome\User Data\Default\Network\Cookies"
[debug] Found local state file at "C:\Users\[User]\AppData\Local\Google\Chrome\User Data\Local State"
[Cookies] Loading cookie 0/ 127ERROR: Failed to decrypt with DPAPI. See https://github.com/yt-dlp/yt-dlp/issues/10927 for more info
File "yt_dlp\__main__.py", line 17, in <module>
File "yt_dlp\__init__.py", line 1100, in main
File "yt_dlp\__init__.py", line 998, in _real_main
File "yt_dlp\YoutubeDL.py", line 736, in __init__
File "yt_dlp\YoutubeDL.py", line 4089, in print_debug_header
File "functools.py", line 981, in __get__
File "yt_dlp\YoutubeDL.py", line 4266, in _request_director
File "yt_dlp\YoutubeDL.py", line 4241, in build_request_director
File "functools.py", line 981, in __get__
File "yt_dlp\YoutubeDL.py", line 4132, in cookiejar
File "yt_dlp\cookies.py", line 99, in load_cookies
File "yt_dlp\cookies.py", line 122, in extract_cookies_from_browser
File "yt_dlp\cookies.py", line 331, in _extract_chrome_cookies
File "yt_dlp\cookies.py", line 366, in _process_chrome_cookie
File "yt_dlp\cookies.py", line 551, in decrypt
File "yt_dlp\cookies.py", line 1087, in _decrypt_windows_dpapi
File "yt_dlp\utils\_utils.py", line 5669, in error
File "yt_dlp\YoutubeDL.py", line 1111, in report_error
File "yt_dlp\YoutubeDL.py", line 1039, in trouble
ERROR: Failed to decrypt with DPAPI. See https://github.com/yt-dlp/yt-dlp/issues/10927 for more info
Traceback (most recent call last):
File "yt_dlp\cookies.py", line 99, in load_cookies
File "yt_dlp\cookies.py", line 122, in extract_cookies_from_browser
File "yt_dlp\cookies.py", line 331, in _extract_chrome_cookies
File "yt_dlp\cookies.py", line 366, in _process_chrome_cookie
File "yt_dlp\cookies.py", line 551, in decrypt
File "yt_dlp\cookies.py", line 1088, in _decrypt_windows_dpapi
yt_dlp.utils.DownloadError: Failed to decrypt with DPAPI. See https://github.com/yt-dlp/yt-dlp/issues/10927 for more info
This is the original message
** UPDATE: Sample verbose logs provided above for each method mentioned below.
Hi,
Just wanted to know what command syntax options are available to pick up the “source” video from Vimeo?
I have tried these to varying degrees of success just to check the source video gets picked up:
yt-dlp.exe https://vimeo.com/[video id] --list-formats --cookies vimeo.com_cookies.txt yt-dlp.exe https://vimeo.com/[video id] --list-formats --cookies-from-browser chrome
I just want to be sure I tried the possible methods before I potentially submit an issue ticket.
Let me know if any further info is required.
Thanks
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 17 (9 by maintainers)
Commits related to this issue
- [ie/vimeo] Fix extractor (#13692) Closes #13180, Closes #13689 Authored by: bashonly — committed to nentenpizza/yt-dlp by bashonly a year ago
This is definitely broken. But to be clear: “Original” format extraction is not broken; only “source” format extraction is broken. The “Original” and “source” end products are the same, but the strategy by which yt-dlp extracts them is different.
“Original” formats are actually downloadable from the website itself if you’re logged into Vimeo. The uploader has explicitly made the original video available for download, and the video page will have a download option. yt-dlp extracts these via the
download config JSONrequest, and this still works.“source” formats are something else, and are only available via the
videosAPI endpoint. You’re not able to download these from the website. I’m not sure exactly of the conditions under which “source” formats are available, but I do know that authentication is required (same as “Original” formats).The problem is that since 22ac81a0692019ac833cf282e4ef99718e9ef3fa, yt-dlp is using the iOS API for the
videosendpoint instead of the web API, and the iOS API does not acknowledge cookies. iOS authentication is done exclusively via theAuthorizationheader.yt-dlp currently only knows how fetch a guest token to access the iOS API. In order to authenticate with an account, we’d need to implement a device oauth login flow (similar to how Youtube oauth support worked during the brief period when we supported it).
Implementing the device oauth login flow looks to be feasible (and Vimeo itself provides documentation for how to do this), but if we did so then things would get pretty complicated. VimeoIE already supports cookie-based and credential-based web authentication, which are equivalent to one another (logging in via web credentials sets the cookies we check for). The device oauth would be something completely separate from that, and it would only be applicable to the
videosendpoint requests, so hypothetically the user would need to authenticate by 2 different methods (e.g. cookies AND oauth) in order to have the extractor work like it did before 22ac81a0692019ac833cf282e4ef99718e9ef3faEDIT: A couple of other notes:
I haven’t actually confirmed that we can get “source” formats via the iOS API; this is just an assumption based on how the web API worked
A video never(?) has both “Original” and “source” formats available; I’ve only ever seen one or the other
That works for me, thank you!
My apologies, the original post has been updated. Thanks.