mirror of
https://github.com/Tusko/vimeo-private-downloader.git
synced 2025-08-14 02:27:44 -07:00
feat: Remove url sanitization and let users manually figure that out
In my case changing the url actually broke the script, the original url worked just fine
This commit is contained in:
parent
8cfdb466d5
commit
6ea49d2d7a
2 changed files with 1 additions and 3 deletions
3
index.js
3
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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue