https://github.com/andrewn/webcapture
https://github.com/andrewn/webcapture
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/andrewn/webcapture
- Owner: andrewn
- License: other
- Created: 2009-09-24T00:35:34.000Z (almost 17 years ago)
- Default Branch: master
- Last Pushed: 2010-07-04T23:13:35.000Z (almost 16 years ago)
- Last Synced: 2025-03-03T03:28:12.915Z (over 1 year ago)
- Language: C++
- Homepage:
- Size: 117 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.GPL2
Awesome Lists containing this project
README
webcapture
===
This is a clone of the webcapture example from the Qt GraphicsDojo hosted in gitorious:
http://qt.gitorious.org/qt-labs/graphics-dojo
Original blog post:
http://labs.trolltech.com/blogs/2009/01/15/capturing-web-pages/
I've modified it to accept more command line arguments using optparse by W. Evan Sheehan
Dependencies
---
You need Qt to be installed
Build
---
### On Mac OS X:
1. $> qmake
2. Double click the Xcode project created
3. Click on build in Xcode
4. the 'webcapture' executable is created
### On Unix (specfically Centos):
NB: This requires fontconfig 1.4.2 see here for an explanation of why:
http://theitdepartment.wordpress.com/2009/03/15/centos-qt-fcfreetypequeryface/
1. $> qmake
2. $> make
3. The executable will be built
You need to have an X11 display available. I run this headless and so have Xvfb running on display :1 ($> Xvfb :1 &). This means prefixing the command with:
$> export DISPLAY=:0; ./webcapture http://news.bbc.co.uk