Giter VIP home page Giter VIP logo

phantomjs-screenshots's Introduction

Create screenshots from websites via json jobfiles

This script creates screenshots from websites via PhantomJS

This script is used as backend for the Screener webapp.

JSON jobfile

{

"Output": "/tmp/foobar.png",

"ViewPort": "1280x1024",

"Url": "http://www.fotokasten.de",

"UserAgent": "HggH Screenshot System with PhantomJS",

"timeout": "15"

}

The configuration flags "UserAgent" and "timeout" are optional. default for "timeout" is 15 seconds.

PJS Configuration

Please use conf/pjs.example.conf as example configuration file.

PJS with Selenium Webdriver with PhantomJS

With PhantomJS >= 1.8 you can start PhantomJS with '''phantomjs --webdriver=127.0.0.1:8910'''.

After starting up PhantomJS, please set :selenium_phantomjs to true. So pjs will not start for every screenshot the phantomJS binary.

This feature requires to install the "selenium-webdriver" gem.

Contact?

Jonas Genannt / http://blog.brachium-system.net

phantomjs-screenshots's People

Contributors

hggh avatar knorrium avatar

Stargazers

Mike Preston avatar pnig0s avatar Matt Harris avatar Xin avatar Ben Yarbrough avatar FangLiang avatar Laurent de Lacerda avatar Hiep Le avatar Ashish Gupta avatar danielsdesk avatar Angus H. avatar Ma Yuewen avatar  avatar davidwei_001 avatar Yun Song avatar martin avatar 平江 avatar Kai avatar Jonas Oppenlaender avatar Gabriel Martinez avatar Cody Peterson avatar Kevin Davies avatar Grabilla Capture avatar Pantelis Koukousoulas avatar titanomachy avatar Heliodor Jalba avatar Phx avatar Mike Metzger avatar Fizz Orange avatar Rao Venu avatar Erick Patrick avatar JT5D avatar jeep avatar Cliff Braton avatar Vitor Britto avatar Tim Elfelt avatar Oliver Janssen avatar Insub avatar Javier Sánchez - Marín avatar Stefano Gargiulo avatar Joshua Eichorn avatar Stef avatar Nick Porter avatar Bheesham Persaud avatar dcfvg avatar Charles Lowell avatar Andrew Disley avatar Tony Xiao avatar Karthik Ananth avatar Petr Vacek avatar Bas Kamer avatar Hu Wan avatar Jonas Renggli avatar  avatar Michael Sheedy avatar Tony McCrae avatar Olivier TASSEL avatar  avatar  avatar NoScripter avatar Chris Webb avatar unbound.val avatar  avatar skug avatar Thorsten Schifferdecker avatar Rayi avatar Kay Schneider avatar J Shamsul Bahri avatar  avatar Alon Valadji avatar Ivan Bolhar avatar Brad Batt avatar Dennis Green-lieber avatar Chris Edwards avatar  avatar ebugsky avatar Andrew Volkov avatar Marc Gordon avatar Joseph Khoury avatar Gabriel Dumitrescu avatar Melvyn Hills avatar Umar Hansa avatar Alexandre Rocha Lima e Marcondes avatar @printminion avatar Paul Hart avatar Robin van der Vleuten avatar Cam Peterson avatar hellojinjie avatar  avatar Tristan avatar Masroor Naved avatar Fili avatar Si Nguyen avatar Gabriel Sosa avatar Marcos Sader avatar Matthias Köntopf avatar  avatar sunbo avatar Pyunghyuk Yoo avatar Camilo Aguilar avatar

Watchers

Joshua Eichorn avatar davidwei_001 avatar  avatar Richard Hess avatar Gulen Chongtham avatar  avatar  avatar Joshua Odmark avatar James Cloos avatar Thorsten Schifferdecker avatar Shuro avatar  avatar  avatar  avatar

phantomjs-screenshots's Issues

Problems with google.com

Hi there, i tried the screener-script on my server with the pre-compiled phantomjs binary, that works for some sites, but with "http://www.google.com" their is no generated image? Also no noticed error, maybe a bug?

Greetings, Shuro

Have it check for 401 status, please

I'm seeing this thing in our logs trying to request the background image, where it gets a HTTP 401, "no user/password was provided for basic authentication, client: {ip address}". Then it tries again, continuously, something like 20 times a second, until I quit and restart the server, then it waits for a few minutes and starts requesting again..

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.