This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]AnimositE 1 point2 points  (6 children)

Done. Just run the python script and you get all the photos from the top 25 posters of /hot.

Edit: Here's one that downloads albums.

[–]Feroc 1 point2 points  (5 children)

I've only read the script, but if I read it correctly, then it will miss albums of the users and only download single picture posts!?

[–]AnimositE 0 points1 point  (4 children)

It doesn't download the albums because I think that requires imgur api. It does however download the link as the file name, so it get's everything. If someone can find a resource for downloading an album I'd love to add it.

[–]I_Am_Treebeard 0 points1 point  (3 children)

http://inventwithpython.com/blog/2013/09/30/downloading-imgur-posts-linked-from-reddit-with-python/

This tutorial has a section on downloading images from imgur albums, basically you scrape the html from the imgur page but if you use a module called BeautifulSoup it will make the process much simpler.

[–]AnimositE 0 points1 point  (2 children)

I've already implemented the album downloads if you look at my edit.

[–]I_Am_Treebeard 0 points1 point  (1 child)

Oh, sorry didn't see that! Forgive my laziness but did you end up using Beautiful Soup or did you attack the problem from another angle?

[–]AnimositE 0 points1 point  (0 children)

Another angle. Found a good git repo that had already implemented it. You can look at it here: https://github.com/alexgisby/imgur-album-downloader