brenden / node-webshot

Easy website screenshots in Node.js
2.12k stars 285 forks source link

Url with parameters #126

Open martinvandzura opened 8 years ago

martinvandzura commented 8 years ago

How can I take screenshot of website with parameters? I have url which contains some parameters and it fails to take screenshot. Problem seems to be that ? in url is replaced by %3F

ie var webshot = require('webshot');

webshot('google.com?param1=foo&param2=foo2', 'google.png', function(err) { // screenshot now saved to google.png });