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

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': True to YoutubeDL params 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)

Most upvoted comments

After reading what @seproDev and @bashonly wrote I followed the steps in the docs and installed the curl_cffi dependencies, 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:

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.

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

OK, run this command once to fix your .zshrc/PATH:

echo 'export PATH="${HOME}/.local/bin:${PATH}"' > ~/.zshrc

and I realize that I forgot a step, you need to run this command:

chmod +x ~/.local/bin/yt-dlp

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:

mkdir -p ~/.local/bin
curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_macos -o ~/.local/bin/yt-dlp
chmod +x ~/.local/bin/yt-dlp

Then you’ll want to add this directory to your PATH environment variable, so that when you run yt-dlp in 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 of bash. Run echo $SHELL to determine which.

If you’re using zsh, then run this command:

echo 'export PATH="${HOME}/.local/bin:${PATH}"' >> ~/.zshrc

If bash, then this:

echo 'export PATH="${HOME}/.local/bin:${PATH}"' >> ~/.bash_profile

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.