ytdlp.org
On this page

Error guide

Fix yt-dlp Vimeo "The web client only works when logged-in"

Since September 2026, yt-dlp refuses most vimeo.com links unless you're logged in, even for videos anyone can watch in a browser. The video is fine. yt-dlp's default way of asking Vimeo for it now needs an account.

What the error looks like

$ yt-dlp "https://vimeo.com/22439234"
ERROR: [vimeo] 22439234: The web client only works when logged-in. Use --cookies, --cookies-from-browser, --username and --password, --netrc-cmd, or --netrc (vimeo) to provide account credentials. See  https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do-i-pass-cookies-to-yt-dlp  for how to manually pass cookies

We got this for two public videos on yt-dlp 2026.11.23 (29 November 2026). Upstream tracks it in yt-dlp#17631, which is open with no fix. Newer reports such as #18139 were closed as duplicates of it. Updating won't help yet, but keep updating: the fix will ship as a release (how to update).

Fix 1: use the embed URL

Rewrite vimeo.com/<id> as player.vimeo.com/video/<id>. yt-dlp then reads the embedded player, which many public videos still serve without a login:

$ yt-dlp --print "%(extractor)s | %(title)s | %(height)s" "https://player.vimeo.com/video/22439234"
vimeo | The Mountain | 1080

You get the full format list, up to 1080p for this video, so -f and -S work as usual (format selection). A warning Failed to parse XML: not well-formed can appear on the way; it didn't stop the download.

In a script, the rewrite is one line:

url="https://vimeo.com/22439234"
id="${url##*/}"
yt-dlp "https://player.vimeo.com/video/$id"

Fix 2: when the embed returns 401

Some videos refuse the embed too:

$ yt-dlp "https://player.vimeo.com/video/1025135296"
ERROR: [vimeo] 1025135296: Unable to download webpage: HTTP Error 401: Unauthorized (caused by <HTTPError 401: Unauthorized>)

That often means the owner limits the video to certain sites, or the player wants a session. In our test, a --referer "https://vimeo.com/" didn't change it. If the video is embedded on a page you can see, pass that page as the referer:

yt-dlp --referer "https://the-site-that-embeds-it.example/page" "https://player.vimeo.com/video/1025135296"

Or pass the embedding page itself and let yt-dlp find the player in it (Unsupported URL covers how the generic extractor follows embeds).

Fix 3: log in with cookies

If neither works, give yt-dlp a logged-in Vimeo session. The error message lists the options. Cookies from a browser where you're signed in to Vimeo are the simplest:

yt-dlp --cookies-from-browser firefox "https://vimeo.com/22439234"

On a server, export a cookies.txt on your machine and pass --cookies cookies.txt (using cookies). Cookies expire, and they tie every download to that account, so this is a stopgap, not a pipeline. We didn't test this step, because it needs an account.

This will break again. Get an email next time.

2–4 emails a month, only when something breaks or gets fixed. Unsubscribe anytime.

What doesn't work

  • Updating. 2026.11.23 still gives the error.
  • Installing curl_cffi for impersonation. The attempting impersonation warning goes away (how), and the error stays.
  • The android client. --extractor-args "vimeo:client=android" fails with The android client is unable to fetch new OAuth tokens and is only intended for use with previously cached tokens.

Users paste vimeo.com links, not embed URLs. So an app built on yt-dlp needs the rewrite above, a fallback for 401s, and a plan for when Vimeo changes again. Importly is a hosted API that takes the link your user pasted and returns the file, transcript or metadata. It returned both test videos above, including the one whose embed gives 401, on 29 November 2026. It's free to try, no card required.

Frequently asked questions

Why does yt-dlp say Vimeo's web client only works when logged-in?

For vimeo.com links, yt-dlp asks Vimeo's API through its web client, and that client now needs a logged-in session. Without cookies or a login, yt-dlp stops before it reads any formats, even when the video plays for anyone in a browser. It's tracked upstream in yt-dlp issue #17631, which is still open on 2026.11.23.

Will updating yt-dlp fix it?

Not yet. The error happens on 2026.11.23, the latest release as of 29 November 2026, and the upstream issue has no fix. Update anyway (yt-dlp -U or pip install -U "yt-dlp[default]"), because a fix will arrive as a new release.

How do I download a Vimeo video without logging in?

Swap the link for the embed form: https://vimeo.com/22439234 becomes https://player.vimeo.com/video/22439234. yt-dlp reads the embedded player instead of the web API, and for many public videos that works with no account. If the embed URL returns HTTP Error 401, the owner limits where the video can be embedded, and you need cookies from a logged-in browser.

Does --extractor-args vimeo:client=android work around it?

No. On 2026.11.23 it fails with 'The android client is unable to fetch new OAuth tokens and is only intended for use with previously cached tokens'. The android client only works if an earlier run cached a token for it.

For builders

Using yt-dlp inside an app or script?

Paste a link to see what a managed media-import API returns — no install, no signup.

Building this into an app? See the API your backend calls instead