diff --git a/README.md b/README.md index 01f14d0..33d2f7b 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ To download videos you have to: 1. Open the browser developer tools on the network tab (`F12` on Windows/Linux, `CMD + Option + I` on Mac OS). 2. Start the video (or move mouse over the video). 3. 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. 4. Fill in `url` and `name`(using as filename) fields in `videojson.js` file 5. Run: `node index.js` or `npm run start` 6. Wait for console output `🌈 List finished` diff --git a/index.js b/index.js index eba530e..985e215 100644 --- a/index.js +++ b/index.js @@ -6,9 +6,6 @@ const list = require("./videojson.js"); function loadVideo(num, cb) { let rawMasterUrl = new URL(list[num].url); - rawMasterUrl.searchParams.delete('query_string_ranges'); - rawMasterUrl.searchParams.set('base64_init', 1); - let masterUrl = rawMasterUrl.toString(); getJson(masterUrl, num, (err, json) => {