alexgisby / imgur-album-downloader

Python script/class to download an entire Imgur album in one go into a folder of your choice.
MIT License
340 stars 59 forks source link

Imgur API? #8

Closed jabbalaci closed 10 years ago

jabbalaci commented 10 years ago

Are you aware that Imgur has an API? Here: http://api.imgur.com/ . There you will also find some Python examples. With this API you wouldn't need any scraping.

alexgisby commented 10 years ago

Hey @jabbalaci

Yep, I am indeed aware that Imgur has a full API. At the time of writing this script I just needed a fast way of grabbing an entire album without going through the hassle of setting up OAuth tokens etc (at that time there was no download button on albums!). So I wrote this little scraper. It has since evolved into a little class that can be used by other apps should they choose, but it's primary purpose is still a fast and dirty command line tool.

If anyone is doing anything serious with Imgur, I would absolutely recommend that they use the real Imgur APIs.

If anyone from Imgur has a problem with it, I'd be more than happy to discuss it with them :)

Does that answer your query?

Thanks! Alex

jabbalaci commented 10 years ago

Hi Alex,

Thanks for the quick answer. Your script has the big advantage that it can be used immediately, there is no need to create an API key.

Today I wanted to download an album and your script just did the job :)

Best,

Laszlo

alexgisby commented 10 years ago

Cool, thanks! And I'm glad it helped you out! :)

Alex

jabbalaci commented 10 years ago

Your project was posted to reddit: http://www.reddit.com/r/Python/comments/22anly/python_scriptclass_to_download_an_entire_imgur . In one of the comments there is a script that uses the imgur API. I haven't tried it but it seems it requires no key.