Node.js script helps you to download private videos from Vimeo
Before you start, make sure you have installed Node.js.
To check it run in terminal node -v
. You will see v10.11.0
for example. If you get error, install latest Node.js.
To download videos you have to:
- Open the browser developer tools on the network tab (
F12
on Windows/Linux,CMD + Option + I
on Mac OS). - Start the video (or move mouse over the video).
- In the "Network" tab, locate the load of the "master.json" file, copy its full URL. 3.1. In some cases Vimeo sends you encrypted video data, that you can workaround by either removing 'query_string_ranges' query parameter and/or adding 'base64_init=1' to it.
- Fill in
url
andname
(using as filename) fields invideojson.js
file - Run:
node index.js
ornpm run start
- Wait for console output
🌈 List finished
To combine and convert video/audio parts to mp4
file run in terminal sh vimeo-combine.sh
or npm run combine
and enjoy!
There is a Dockerfile available in the repository which uses Alpine image with Node 18 installed.
Several Makefile commands have been added in order to
make build
: buildsFROM node:18-alpine
Docker image installingffmpeg
OS dependency as wellmake start
: executesnpm run start
entrypointmake convert
: executesnpm run convert
entrypointmake bash
: Runs sh command in a running container
Special thanks to contributors:
@ftitreefly - created bash script to merge videos/audio parts to mp4