Wallpaper scraper/grabber for a certain website...
Go to file
ryuslash caba2811b9 KeyboardInterrupt, 80 columns
Keyboard Interruption (CTRL+C) should now be handled gracefully
Tried making the 4grab.py file no more than 80 columns wide
2010-03-12 21:50:10 +01:00
.gitignore Added --category 2010-02-11 21:20:16 +01:00
4grab.py KeyboardInterrupt, 80 columns 2010-03-12 21:50:10 +01:00
COPYING Added license info and README 2010-02-09 02:45:56 +01:00
README Added license info and README 2010-02-09 02:45:56 +01:00
config.py Added license info and README 2010-02-09 02:45:56 +01:00
download.py Removed download.py dependency 2010-03-07 00:20:37 +01:00
htmlparser.py Added license info and README 2010-02-09 02:45:56 +01:00
progressbar.py Removed some comments 2010-02-12 00:18:34 +01:00


4grab - a utility that download pictures from a certain website.

4grab has been written to help me download wallpapers from a certain website, though it should easily be possible to use it for a general purpose image-downloader for that website.

4grab downloads pages 0-10 from the given category and parses these pages looking for links to threads. Afterwards it downloads these thread pages and starts looking in those for image links, skipping one each time because images there are linked to twice.
Finally it goes through all the collected image links and checks to see whether it already exists on the disk and if not, downloads it.

4grab is written in Python and therefore needs the python interpreter (http://www.python.org) to be installed on your system. It is being tested on a Fedora 12 machine with Python 2.6.2 installed, and a Windows XP machine with Python 2.6.4 installed.

v0.2.1 has been reported to work under Windows 7 as well.