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

Downloading every image twice #31

Open cyian-1756 opened 8 years ago

cyian-1756 commented 8 years ago

I've found that lately the script downloads every image in an album twice. I'm running it with python3.5.1 On Ubuntu 16.04

NSFWThisNFSW album is an example of what I'm talking about. It holds 33 .gif images but when I run python3 imguralbum.py https://imgur.com/a/BUfpQ it reports 66 images found and downloads all of them (Half of them being repeats)

szero commented 8 years ago

Hello, I resolved this here: #26. It was caused by an update of imgur's front-end.

cyian-1756 commented 8 years ago

@Szero

It errors out with

File "imguralbum.py", line 200, in <module> downloader = ImgurAlbumDownloader(args[1]) File "imguralbum.py", line 83, in __init__ self.album_title = re.search('image\s*:\s*{"id":"%s","title":"(.*?)"' % self.album_key ,html).group(1) AttributeError: 'NoneType' object has no attribute 'group'

When trying to download the same album as the one in this issue

jtara1 commented 8 years ago

@cyian-1756

Try my fork of imgur album downloader