Skip to content

Instantly share code, notes, and snippets.

@testerzs
Created May 15, 2023 16:42
Show Gist options
  • Save testerzs/6765724a4dfb135452c162283e9e9335 to your computer and use it in GitHub Desktop.
Save testerzs/6765724a4dfb135452c162283e9e9335 to your computer and use it in GitHub Desktop.
Download private Vimeo video's with yt-dlp
Open the webpage where the video is embedded
Right-click anywhere on the page and select "Inspect"
Select the "Network" tab
Press "F5"
Play the video for the links to load
In the "Filter" box type "master"
Click on the link which has the name "master.json"
Copy the url (right click > Copy Value > Copy URL) and paste it into any text editor
Change the end of the url from "master.json?base64_init=1&query_string_ranges=1" to "master.mpd?query_string_ranges=1"
In the following command paste the new url in "YOUR URL" and run the command
yt-dlp "YOUR URL" --no-check-certificate --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0" --add-header "Origin: https://player.vimeo.com" --cookies-from-browser chrome --referer "https://player.vimeo.com" --verbose
Enjoy your vimeo video :)
https://143vod-adaptive.akamaized.net/exp=1684163156~acl=%2Fce035a1e-3e4e-460f-a615-24f1de1a96ce%2F%2A~hmac=ac79edbb5ea4afd01d2f595d39f9732be07bb67f516ac257bd9f4f50328c22ae/ce035a1e-3e4e-460f-a615-24f1de1a96ce/sep/video/26db1c12,adbf2e00,d50e469d,d9374ab5,dda01d98,e59abbe7,f95928f5/audio/0c865d0c,71cee22e,bede378e/master.json?base64_init=1&query_string_ranges=1
Examples:
master.mpd?query_string_ranges=1
master.json?base64_init=1&query_string_ranges=1
https://101vod-adaptive.akamaized.net/exp=1684166793~acl=%2F9d6f....91%2F%2A~hmac=4bb21909e84.....cc202eb1/9d6f3414-319b-41b0-aa77-b5b032034e91/sep/video/16053413,19bab7ed,2843c723,44e341b8,54c7bda6,e5c350a5,fc249131/audio/d8a2f95a,fb5bad8b/master.json?base64_init=1&query_string_ranges=1
yt-dlp "https://101vod-adaptive.akamaized.net/exp=1684166793~acl=%2F9.....1/sep/video/16053413,19bab7ed,2843c723,44e341b8,54c7bda6,e5c350a5,fc249131/audio/d8a2f95a,fb5bad8b/master.mpd?query_string_ranges=1" --no-check-certificate --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0" --add-header "Origin: https://player.vimeo.com" --cookies-from-browser chrome --referer "https://player.vimeo.com" --verbose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment