Carried two snippets out of main method and turned them into methods: connection_setup(), page_check(). page_check() now breaks out of main loop properly, not saving 404 and such pages.
|2 months ago|
|grabber.rb||2 months ago|
|readme.md||3 months ago|
Pic Grabber is a script for downloading images from imageboard threads.
Grabber.rb creates a new directory for each thread, so to keep things tidy, you might want to put it into a separate directory.
Give grabber.rb a link to a thread as a cli argument. For example:
$ grabber.rb https://boards.4channel.org/p/thread/3910581/rpt-recent-photos-thread
You can also create autodownload.lst and fill it with links separated by newline. Those links are going to be checked everytime you run grabber.rb.