Skip to content

Instantly share code, notes, and snippets.

View ptanov's full-sized avatar

Plamen Tanov ptanov

View GitHub Profile
console.error("WARNING: you must check browser download status for failed downloads!");
// time to wait before starting download in ms, you can change it during the download and changes will take effect
var TIMEOUT_WAIT_DOWNLOAD_VIDEO = 2 * 60 * 1000;
var TIMEOUT_WAIT_DOWNLOAD_PHOTO = 10 * 1000;
// if you want to download only selected files change it to const DOWNLOAD_ONLY = ["GX010709.MP4", "GX010710.MP4"];
const DOWNLOAD_ONLY = [];
// time to wait for popup initialization (load available download options), increase if it takes more