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

fixed exception for posts with no tags #68

Merged
merged 1 commit into from
Feb 18, 2022
Merged

fixed exception for posts with no tags #68

merged 1 commit into from
Feb 18, 2022

Conversation

bog4t
Copy link

@bog4t bog4t commented Feb 18, 2022

For the python verison of the downloader, I recieved this exception:

line 135, in download
    for tag in s.find(class_='tags-row').findAll(class_='tags'):
AttributeError: 'NoneType' object has no attribute 'findAll'

I made a quick fix by wrapping the for loop with a try and except block.

@egypturnash
Copy link

This fixes #67, thank you, I now have untagged giant titties on my local drive. :)

@Xerbo Xerbo merged commit 0eff94d into Xerbo:python Feb 18, 2022
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

Successfully merging this pull request may close these issues.

3 participants