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

Update imguralbum.py #36

Closed vinieich closed 6 years ago

vinieich commented 7 years ago

I changed imageIDs from list to set, so it doesn't return duplicate imgs ever. This is my first collaboration, sorry if this is not the way and please contact me.

zuik commented 7 years ago

Ditto on this as it would solve issue #37

szero commented 7 years ago

This was already done here #26

Kagami commented 7 years ago

@Szero your version gives the following error:

$ ~/imguralbum.py http://imgur.com/a/uOOju           
Traceback (most recent call last):
  File "/home/user/imguralbum.py", line 207, in <module>
    downloader = ImgurAlbumDownloader(args[1])
  File "/home/user/imguralbum.py", line 96, in __init__
    for i in self.imageIDs:
AttributeError: 'ImgurAlbumDownloader' object has no attribute 'imageIDs'

This one works, so :+1:

szero commented 7 years ago

@Kagami Thanks, I updated it so it works like it should now.

vinieich commented 6 years ago

Closing to prevent duplication as @Szero too has a working version.