Skip to content

tskir/vimeo-audio-video

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Download segmented videos from Vimeo

Install prerequisites

Install ffmpeg and Python 3:

  • Debian/Ubuntu: sudo apt install -y ffmpeg python3
  • Mac OS X: brew install ffmpeg python

Install Python dependencies: sudo python3 -m pip install requests --upgrade tqdm

Instructions to download video

For each video you want to download:

  1. Open the page containing the embedded video.
  2. Open development console (Chrome: F12).
  3. Go to the Network tab.
  4. Right click on the master.json request, select Copy → Copy link address. An example of how such a URL could look like: https://178skyfiregce-a.akamaihd.net/exp=1474107106~acl=%2F142089577%2F%2A~hmac=0d9becc441fc5385462d53bf59cf019c0184690862f49b414e9a2f1c5bafbe0d/142089577/video/426274424,426274425,426274423,426274422/master.json?base64_init=1.

Create a TSV file (can be done e. g. by copy-pasting from Google Sheets), where the first column is output file name (ending with .mp4) and the second is this URL to master.json.

Then run the script, providing the name of this file with names and URLs:

./vimeo-autio-and-video.py -i names_urls.txt

Acknowledgements

Based on work of: