IgnoredAmbience / yahoo-group-archiver

Scrapes and archives a Yahoo groups email archives, photo galleries and file contents using the non-public API
MIT License
93 stars 46 forks source link

Got stuck on a bad .jpg file in a yahoogroup #117

Closed shansen5 closed 4 years ago

shansen5 commented 4 years ago

A group I was archiving had a 2009 .jpg attachment that was failing to download. It was trying 10 times and then starting over, again and again. Line 194 of yahoo.py was commented out. When the HTTPError exception was thrown, without this line it would just keep trying the same 'photoType'. I uncommented the line and the program skipped the bad attachment after the download failed, which worked for me. Wondering why the line had been commented, though.

exclude.append(photoinfo['photoType'])

Steve

shansen5 commented 4 years ago

Looking through other issues I see that this problem has already been noted and is being worked on, so no need to respond to mie.