Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Yet another lame image dumper

Name: Anonymous 2011-09-03 18:57

And here's yet another lame script for dumping images off 4chan.. Since we probably don't have enough of them already.

Made it over the weekend.. Why?
Well, first of all, I was bored.
Second, all other I could find kinda sucked
Third.. I love python, and if its not made in python, its useless :D

URL : http://bayfiles.com/file/Y6J/uBEivF/dump_4chan.zip (24kb)
URL2: http://cf4a7g.1fichier.com/ - no wait, but in cheese language

Command line script, tested on linux and windows.

Feedback wanted. Good feedback especially wanted.

Name: Anonymous 2011-09-05 5:48

True, the fetcher is still rather stupid. It could f.x check if the last image displayed in a thread on the index already exist on the disk before requesting a full thread dump,

and it doesn't handle other than the main page of index (not page 1, 2, 3 and so on). The last part is just laziness by me, tho.

And the Content-Length part is a very good idea, thanks :) Does 4chan server give HEAD? Will look into that when I get home.

Stil adding some small features here and there (added a "minimum images" limit option for when threads should be downloaded - this could also be done way smarter), and refactoring / restructuring code to make it easier to read and work with.

Hmm.. Your content-length idea could be combined with "only if image is less than or bigger than X size" options.

Any more ideas for simple functions and features to put in? Or better ways to structure the code?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List