Archives For 4chan leecher

Python 4chan downloader

December 14, 2014 by Asbra — 2 Comments

A 4chan downloader/leecher I wrote while learning Python.
If you just execute it, it scrapes the catalog page of specified section, then scrapes all threads and downloads all images from them.

catalog function returns a list of all threads on the specified board
thread function returns a list of all images in specified thread id

Python is quite a nice language, very simple syntax and a lot of libraries to use. Started learning Python for a new project I’m working on, mostly to get a decent solution for multi-threaded scraping/botting.

Continue Reading…