Skip to content

Instantly share code, notes, and snippets.

@nipunsadvilkar
Forked from dmlogv/download-vimeo-video.js
Created August 22, 2020 06:18
Show Gist options
  • Save nipunsadvilkar/711184ecaad212c642ed76baa7e9726e to your computer and use it in GitHub Desktop.
Save nipunsadvilkar/711184ecaad212c642ed76baa7e9726e to your computer and use it in GitHub Desktop.
Download private embed Vimeo video
// Ctrl+Shift+C to open Chrome Console.
// Choose an IFrame of the Vimeo Video with a comment `player.vimeo.com`
// in the drop-down list `top`.
// Run a script:
var videos = [];
$$('script')[3].textContent.match(/\{[^{]+?mp4[^}]+?\}/g).forEach(
x => { o = JSON.parse(x);
videos.push(o);});
videos.sort((a, b) => a.quality.localeCompare(b.quality)).forEach(
x => { console.log(x.quality, x.url) });
// Choose a needed video quality and call context menu to `Save As...`
// or click to open a video and press Ctrl+S.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment