Skip to content

Instantly share code, notes, and snippets.

@Mello-Yello
Mello-Yello / openload.js
Last active April 9, 2018 10:23 — forked from Tithen-Firion/openload.js
Openload: extract download URL using PhantomJS
// Usage: phantomjs 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');
phantom.exit(1);