Skip to content

Instantly share code, notes, and snippets.

View f0nZ's full-sized avatar

Nuno Neto f0nZ

View GitHub Profile
@Tithen-Firion
Tithen-Firion / openload.js
Last active November 20, 2021 15:14
Openload: extract download URL using PhantomJS
// Usage: phantomjs openload.js <video_url>
// if that doesn't work try: phantomjs --ssl-protocol=any openload.js <video_url>
var separator = ' | ';
var page = require('webpage').create(),
system = require('system'),
id, match;
if(system.args.length < 2) {
console.error('No URL provided');