Xealeph / Yiff.party-Image-Scraper

A simple Image Scraper for yiff.party profiles.
MIT License
10 stars 4 forks source link

NoneType object is not subscriptable #22

Closed HydroHydro closed 4 years ago

HydroHydro commented 4 years ago

Found another bug!

Tried to get this URL: https://yiff.party/fantia/4284

And got: Traceback (most recent call last): File "yiff_image_scraper.py", line 490, in <module> downloadImages(url, urlCounter, useFolders) File "yiff_image_scraper.py", line 292, in downloadImages linkList += fantiaSubroutine(fantiaList) File "yiff_image_scraper.py", line 197, in fantiaSubroutine linklist.append(var.a['href']) TypeError: 'NoneType' object is not subscriptable

Xealeph commented 4 years ago

Sure. I'll look into it.

Xealeph commented 4 years ago

Well, that was stupidly easy to fix. I'm very sorry that this took so long.