Earlier this year i wrote a small python script for downloading images from 4chan threads.
It is available now from this page
Credits need to be given to David Tucker for helping out
After a comment i added some changes.
See the usage description for information about v1.1