Skip to content

Instantly share code, notes, and snippets.

View emisca's full-sized avatar

Emilio Scalise emisca

  • Mongodb Inc.
  • Rome
  • 22:44 (UTC +02:00)
View GitHub Profile
@emisca
emisca / vimeo-downloader.js
Created November 7, 2020 21:49 — forked from aik099/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>"
// (done automatically now) 5. Combine the m4v and m4a files with mkvmerge
const fs = require('fs');
const url = require('url');
const https = require('https');
const { exec } = require('child_process');