Skip to content

Instantly share code, notes, and snippets.

@brenogcota
Last active June 25, 2021 21:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brenogcota/ee44948689e7c16cbf7a9ff5e33d3463 to your computer and use it in GitHub Desktop.
Save brenogcota/ee44948689e7c16cbf7a9ff5e33d3463 to your computer and use it in GitHub Desktop.
get url from vimeo iframe
// get url
let url = document.querySelector('body > script').text.split('\"url\":\"')[10].split('.mp4')[0] + '.mp4';
// open in new tab
window.open(url);
// ** Copy link and run in your terminal
wget -c 'your-link'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment