Closed jabbalaci closed 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
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
Cool, thanks! And I'm glad it helped you out! :)
Alex
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.
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.