Bob's Jellyfish
Bob's Jellyfish

Reputation: 363

Phantomjs no render

I work on a small project with PhantomJS to make screenshot

I use the standard script (http://phantomjs.org/screen-capture.html) everything works perfectly

but if I change the url (this url :https://fr.wikipedia.org/w/index.php?title=Pomme&direction=next&oldid=46779461) screenshot does not work I do not understand why it does not work...

var page = require('webpage').create();
page.open('https://fr.wikipedia.org/w/index.php?title=Pomme&direction=next&oldid=46779461', function() {
    page.render('github2.png');
    phantom.exit();
});

Upvotes: 0

Views: 139

Answers (1)

user2464424
user2464424

Reputation: 1616

I reproduced the issue and it seems like only that single page doesn't work.

Looks like that lemon-loving troll added so many "OOOOO"s that it broke the layout to the point that phantomjs is suiciding and refusing to cooperate.

That's my conclusion. My advice for today is to point your scripts to literally anything else.

Upvotes: 1

Related Questions