dm_bot icon indicating copy to clipboard operation
dm_bot copied to clipboard

You might want to consider phantomjs.

Open InputNeuron opened this issue 11 years ago • 3 comments

Saw your dm_bot on reddit.

Great job.. the dailymail sucks.

I had thought of the same thing for mirroring 'clickbait' but I don't have the time to work on it.

You might want to consider phantomjs instead.

There's a command line 'render.js' which basically takes a URLs and renders it as a png.

It is a full webkit browser so you can make it do what you want.

InputNeuron avatar Apr 25 '15 20:04 InputNeuron

That sounds pretty cool, we were wondering if something like that existed. When I first made the bot I couldn't find anything apart from Selenium/Firefox to render the page so that is what I went with.

I will check that out though, thanks for the tip!

On Sat, Apr 25, 2015 at 8:58 PM, Kevin Burton [email protected] wrote:

Saw your dm_bot on reddit.

Great job.. the dailymail sucks.

I had thought of the same thing for mirroring 'clickbait' but I don't have the time to work on it.

You might want to consider phantomjs instead.

There's a command line 'render.js' which basically takes a URLs and renders it as a png.

It is a full webkit browser so you can make it do what you want.

— Reply to this email directly or view it on GitHub https://github.com/bag-man/dm_bot/issues/2.

bag-man avatar Apr 26 '15 01:04 bag-man

I have switched it over to PhanomJS, made life a lot better for the project!

Thanks.

bag-man avatar Apr 27 '15 17:04 bag-man

SWEET! Glad I could help!

InputNeuron avatar Apr 27 '15 19:04 InputNeuron