Skip to content

Instantly share code, notes, and snippets.

@mmathys
Last active July 17, 2024 20:29
Show Gist options
  • Save mmathys/00684c6fce97d7817b40e4cba259be11 to your computer and use it in GitHub Desktop.
Save mmathys/00684c6fce97d7817b40e4cba259be11 to your computer and use it in GitHub Desktop.
Download Vimeo VOD (video on demand)

How to download vimeo VOD for offline usage

Variant 1

Use youtube-dl directly to download the video (thanks @meepybub!) Example:

youtube-dl -u <youremailaddress@example.com> "https://vimeo.com/ondemand/<video>"

Variant 2 (old)

If variant 1 doesn't work, try this.

Step 1

Login to Vimeo and get the cookies.txt file using this Chrome plugin

Step 2

Use youtube-dl to download the video Example:

youtube-dl "https://vimeo.com/ondemand/<video>" --cookies cookies.txt

Variant 3

I had a lot of success with this repo for private videos: https://github.com/Tusko/vimeo-private-downloader

@juniorjruk
Copy link

juniorjruk commented Mar 22, 2023

THIS ONLY WORKS IF YOU HAVE A VIMEO ACCOUNT. If you're signed into Vimeo via a Google, Facebook, or Apple account, the variants don't work.

@alexandervlpl
Copy link

Update: currently nothing works. 😢 Purchased (not rented) video, tried with user account and/or cookies.txt. It seems we're blocked by Google CDN which is hosting the video fragments.

$ youtube-dl --cookies cookies.txt -u <user> https://vimeo.com/ondemand/<video>
[dashsegments] Total fragments: 910
[download] Destination: <video>.fdash-google_mediacdn_sep-video-de62fcb4.mp4
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 1 of 10)...

Using latest youtube-dl from Github.

@ayyucedemirbas
Copy link

An update from 2024

I would like to point out a few minor details.

You must have a Vimeo account, do not sign in via Google or anything else,yt-dlp asks for your email address and password to log in.

You must install the yt-dlp via the command below (for MacOS):
brew install yt-dlp

and then, when the installation is completed, you must use the command below to download the video:
yt-dlp -u your_email@youremail.com https://vimeo.com/ondemand/linktoyourvideo

It will ask for your password to log in, enter it. Your download should begin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment