yt-dlp: [vimeo] This request has been blocked due to its TLS fingerprint
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
- I understand that I will be blocked if I intentionally remove or skip any mandatory* field
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 and the bugtracker for similar issues including closed ones. DO NOT post duplicates
- I’ve read the guidelines for opening an issue
- I’ve read about sharing account credentials and I’m willing to share it if required
Region
anywhere
Provide a description that is worded well enough to be understood
strange behaviour from Vimeo links today giving errors with “This request has been blocked due to its TLS fingerprint” most of the links fail that way. they they seem to work fine for some time, then the issue comes back. Not sure if it’s for everyone like that. Decided to report just in case. Tried looking up if there’s already and open issue like this - found not. Have been looking by the message from the error.
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
./yt-dlp -vU -F "https://vimeo.com/74710268"
[debug] Command-line config: ['-vU', '-F', 'https://vimeo.com/74710268']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2024.07.02 from yt-dlp/yt-dlp [93d33cb29] (zip)
[debug] Python 3.12.2 (CPython arm64 64bit) - macOS-14.5-arm64-arm-64bit (OpenSSL 3.0.13 30 Jan 2024)
[debug] exe versions: phantomjs 2.1.1, rtmpdump 2.4
[debug] Optional libraries: certifi-2024.02.02, sqlite3-3.45.1
[debug] Proxy map: {}
[debug] Request Handlers: urllib
[debug] Extractor Plugins: SamplePluginIE
[debug] Post-Processor Plugins: SamplePluginPP
[debug] Loaded 1934 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: stable@2024.07.02 from yt-dlp/yt-dlp
yt-dlp is up to date (stable@2024.07.02 from yt-dlp/yt-dlp)
[vimeo] Extracting URL: https://vimeo.com/74710268
[vimeo] 74710268: Downloading webpage
WARNING: [vimeo] The extractor is attempting impersonation, but no impersonate target is available; if you encounter errors, then see https://github.com/yt-dlp/yt-dlp#impersonation for information on installing the required dependencies
ERROR: [vimeo] 74710268: This request has been blocked due to its TLS fingerprint. Install a required impersonation dependency if possible, or else if you are okay with compromising your security/cookies, try replacing "https:" with "http:" in the input URL. If you are using a data center IP or VPN/proxy, your IP may be blocked.
File "./yt-dlp/yt_dlp/extractor/common.py", line 740, in extract
ie_result = self._real_extract(url)
^^^^^^^^^^^^^^^^^^^^^^^
File "./yt-dlp/yt_dlp/extractor/vimeo.py", line 871, in _real_extract
raise ExtractorError(
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 23 (10 by maintainers)
After reading what @seproDev and @bashonly wrote I followed the steps in the docs and installed the
curl_cffidependencies,pip install "yt-dlp[default,curl-cffi]"– now it works. Thanks!the macos pyinstaller-bundled binary includes curl_cffi
you also probably should install ffmpeg
It’s exactly what the error message says:
Vimeo has started blocking access based on the TLS fingerprint. They don’t block 100% of the requests but also take other things in to account like IP reputation and request frequency. You will either need to use yt-dlp with curl_cffi, or alternatively, you can try the workaround mentioned in the error message.
@ewebgh33 curl-cffi will likely not work on macOS versions < 11
@highschooldropout that issue can be tracked in #10422
@someziggyman this is what we do to produce universal2 binaries that include curl_cffi:
https://github.com/yt-dlp/yt-dlp/blob/cc1a3098c00995c6aebc2a16bd1050a66bad64db/.github/workflows/build.yml#L262-L307
OK, run this command once to fix your
.zshrc/PATH:and I realize that I forgot a step, you need to run this command:
then you should be good to go
@highschooldropout The easiest way will be to install the official yt-dlp_macos binary
To download it, run these commands from your terminal:
Then you’ll want to add this directory to your
PATHenvironment variable, so that when you runyt-dlpin your terminal, the newly downloaded macos binary is what gets executed.To do that, first you should figure out which shell your terminal uses by default. On newer versions of macOS, it’s
zsh. On older macOS, it’s an ancient version ofbash. Runecho $SHELLto determine which.If you’re using zsh, then run this command:
If bash, then this:
Make sure to copy/paste verbatim, since the quoting etc needs to be exact.
Then log out and log back in to make sure the changes take effect.