Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Persistently errors out on one particular image. #67

Closed
egypturnash opened this issue Feb 9, 2022 · 2 comments
Closed

Persistently errors out on one particular image. #67

egypturnash opened this issue Feb 9, 2022 · 2 comments

Comments

@egypturnash
Copy link

If I have https://www.furaffinity.net/view/45842186/ (NSFW, cw: hyper titties, clothed) in my favorites, the Python downloader will crash with the following error when it comes to this image:

Traceback (most recent call last):
  File "/Users/egypt/Documents/scripts/fa/peggy faves/../furaffinity-dl.py", line 202, in <module>
    download(img.find('a').attrs.get('href'))
  File "/Users/egypt/Documents/scripts/fa/peggy faves/../furaffinity-dl.py", line 135, in download
    for tag in s.find(class_='tags-row').findAll(class_='tags'):
AttributeError: 'NoneType' object has no attribute 'findAll'

If I unfav this one particular image, the downloader will happily go past the point it occupied in my favorites; favorite it again and the downloader once again crashes when it comes to it. The downloader also has no problems grabbing other images by this artist.

@egypturnash
Copy link
Author

egypturnash commented Feb 9, 2022

A friend noted that the image in question has no tags, and I just had this error happen again on another image that also has no tags, so this bug report may actually be "fails on images with no tags". :)

@egypturnash
Copy link
Author

Fixed by #68 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant