Skip to content

Commit

Permalink
Updates...
Browse files Browse the repository at this point in the history
  • Loading branch information
itsnauman committed Apr 26, 2014
1 parent 92d6b5c commit 1c37350
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
About
=====

**This Project Is Looking For Contributers**

Originally taken from the blog post by Roland Tapken at:
http://www.blogs.uni-osnabrueck.de/rotapken/2008/12/03/create-screenshots-of-a-web-page-using-python-and-qtwebkit/
Expand All @@ -10,28 +10,30 @@ Installation

Ubuntu
------
- Add following packages: apt-get install python-qt4 libqt4-webkit xvfb
- Install the flash plugin to screenshot Adobe Flash files: apt-get install flashplugin-installer
- Add following packages: ``apt-get install python-qt4 libqt4-webkit xvfb``
- Install the flash plugin to screenshot Adobe Flash files: ``apt-get install flashplugin-installer``

Automated installation via pip
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Install pip: apt-get install python-pip
- Install webkit2png: pip install webkit2png
- Install pip: ``apt-get install python-pip``
- Install webkit2png: ``pip install webkit2png``

Manual installation via Git
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Install git: apt-get install git-core
- Create directory: mkdir python-webkit2png
- Clone the project: git clone https://github.com/adamn/python-webkit2png.git python-webkit2png
- Install with: python python-webkit2png/setup.py install
- Install git: ``apt-get install git-core``
- Create directory: ``mkdir python-webkit2png``
- Clone the project: ``git clone https://github.com/adamn/python-webkit2png.git python-webkit2png``
- Install with: ``python python-webkit2png/setup.py install``

FreeBSD
-------
- install qt4 webkit: www/py-qt4-webkit, www/qt4-webkit, devel/py-qt4
- install pip: devel/py-pip
- install via: pip install webkit2png
- install pip: ``devel/py-pip``
- install via: ``pip install webkit2png``

Usage
=====
- On a headless server run: python scripts/webkit2png [options] <URL>
- For help run: python scripts/webkit2png -h
- For help run: ``python scripts/webkit2png -h``

![Alt Text](http://24.media.tumblr.com/tumblr_m9trixXFHn1rxlmf0o1_400.gif)

0 comments on commit 1c37350

Please sign in to comment.