Skip to content

Instantly share code, notes, and snippets.

@mmathys
Last active December 13, 2023 19:19
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

@kenji3112
Copy link

I tried the 2 methods but sadly, it didn't work. Do you have any idea on how to downlod a full movie instead of a trailer? Thanks in advance.

@rgarrigue
Copy link

rgarrigue commented Jun 21, 2021

I installed & used firefox's extension "Export cookies" when connected on the VOD page, then youtube-dl https://vimeo.com/ondemand/xxxxxxxxx --cookies cookies-vimeo-com.txt. The URL behing the VOD's one, which is the same as the trailer, but well when you're in the rental period it's the full video. It worked fine.

@teewz
Copy link

teewz commented Aug 30, 2021

@rgarrigue thank you, this worked for me!

@pascat25
Copy link

pascat25 commented Oct 2, 2021

Hello, I would like to have these 21 videos for vod, but I did not understand how the tutorial works, can you help me?

https://vimeo.com/ondemand/moneyschoolexces/

@user7230724
Copy link

user7230724 commented Feb 14, 2022

T͏h͏i͏s͏ ͏t͏u͏t͏o͏r͏i͏a͏l͏ ͏i͏s͏ ͏m͏i͏s͏l͏e͏a͏d͏i͏n͏g͏.͏ ͏I͏t͏ ͏c͏a͏n͏ ͏h͏e͏l͏p͏ ͏y͏o͏u͏ ͏o͏n͏l͏y͏ ͏i͏f͏ ͏y͏o͏u͏ ͏a͏l͏r͏e͏a͏d͏y͏ ͏p͏u͏r͏c͏h͏a͏s͏e͏d͏ ͏t͏h͏e͏ ͏v͏i͏d͏e͏o͏.͏ ͏I͏f͏ ͏y͏o͏u͏r͏ ͏a͏c͏c͏o͏u͏n͏t͏ ͏d͏o͏e͏s͏ ͏n͏o͏t͏ ͏h͏a͏v͏e͏ ͏a͏c͏c͏e͏s͏s͏ ͏t͏o͏ ͏t͏h͏e͏ ͏v͏i͏d͏e͏o͏,͏ ͏i͏t͏ ͏j͏u͏s͏t͏ ͏d͏o͏w͏n͏l͏o͏a͏d͏s͏ ͏t͏h͏e͏ ͏t͏r͏a͏i͏l͏e͏r͏.͏ ͏V͏i͏m͏e͏o͏ ͏i͏s͏ ͏a͏ ͏g͏r͏e͏a͏t͏ ͏b͏u͏l͏l͏s͏h͏i͏t͏ ͏a͏n͏d͏ ͏a͏l͏l͏ ͏c͏o͏p͏y͏r͏i͏g͏h͏t͏e͏d͏ ͏v͏i͏d͏e͏o͏s͏ ͏a͏r͏e͏ ͏j͏u͏s͏t͏ ͏a͏ ͏p͏i͏e͏c͏e͏ ͏o͏f͏ ͏c͏r͏a͏p͏,͏ ͏i͏n͏cl͏u͏d͏i͏n͏g͏ ͏a͏l͏l͏ ͏t͏h͏e͏i͏r͏ ͏a͏u͏t͏h͏o͏r͏s͏.

@milahu
Copy link

milahu commented Feb 27, 2022

alternative: video downloadhelper extension for chrome or firefox

@Gionidelaparis
Copy link

The variant 1 is still working. Thanks a lot (and yes of course, if you have purchased the video for 48h). Searching for a solution for downloading the subtitles

@milahu
Copy link

milahu commented Apr 16, 2022

@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.

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