News for hackers. Stuff that matters.

Show HN: A tool that crawls a subreddit, downloads images

This is a tool I coded in AutoIt that crawls a Subreddit RSS and finds images to download. If the link leads to a gallery, it crawls that gallery for other images.

This is intended for private use only. I don't want you to vacuum pictures off the various image boards this program crawls and call them your own and blame it all on me. Just use it if you want to get cool wallpapers every day or something that's not copyright infringing.

Source is included this time. Yes it's a mess, yes I didn't use switch(), yes I should have added more comments and I should name my variables better. And yes, I should put more things into functions. But I wrote it iteratively from a 10 line program I came up with late at night and by the time I was finished, it was 4:30 early morning. The list of URLs to fetch is in sitelist.txt Add your own there.

Download it here: https://sites.google.com/site/bryanbottebell/bryan-bottebell-s-projects/RedditImageGrab.zip

( 5 comments | 5 points | on HN )
Re:Show HN: A tool that crawls a subreddit, downloads images by dang on Thursday June 25, 2015 @12:05AM (#9775866)
Posts without URLs are penalized so you'd be better off reposting this with a link to your project, and putting the above text as a first comment in the thread. Good luck!
Re:Show HN: A tool that crawls a subreddit, downloads images by MegaLeon on Thursday June 25, 2015 @05:09AM (#9776723)
When I quit the program the process doesn't end, and I can't seem to terminate it myself
Re:Show HN: A tool that crawls a subreddit, downloads images by dragonbonheur on Thursday June 25, 2015 @05:26AM (#9776771)
Thanks. I'll look into it.
Re:Show HN: A tool that crawls a subreddit, downloads images by dragonbonheur on Thursday June 25, 2015 @07:52AM (#9777224)
It has been updated, along with the source and a file extension problem has been fixed too. It should be more responsive when the close button is clicked now.
Re:Show HN: A tool that crawls a subreddit, downloads images by miere on Wednesday June 24, 2015 @10:36PM (#9775640)
Nice contribution, dude. Btw, why don`t you save your code at a free Github account?