Skip to content

Instantly share code, notes, and snippets.

View papoms's full-sized avatar

Paul Porzky papoms

View GitHub Profile
var casper = require('casper').create();
/* var url = casper.cli.args[0]; */
var url = 'http://kicker.de';
var fn = url.replace(/[^a-z0-9]/gi, '').toLowerCase();
// Settings
var targetWidth = 800; //final Image Size
var targetHeight = 600;