Skip to content

Instantly share code, notes, and snippets.

View nevergone's full-sized avatar

Kurucz István nevergone

View GitHub Profile
@nevergone
nevergone / vimeo-downloader.js
Last active November 22, 2021 10:23 — forked from mistic100/vimeo-downloader.js
Download video from Vimeo (chopped m4s files)
// 1. Open the browser developper console on the network tab
// 2. Start the video
// 3. In the dev tab, locate the load of the "master.json" file, copy its full URL
// 4. Run: node vimeo-downloader.js "<URL>"
// 5. Combine the m4v and m4a files with mkvmerge
// or use ffmpeg: "ffmpeg -i video.mp4 -i audio.wav -c copy output.mkv"
const fs = require('fs');
const url = require('url');
const https = require('https');