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

removed breaked author comment name #76

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

CaiqueCoelho
Copy link

Today this piece of code is broken:
author = browser.find_one(".FPmhX", els_comment).text
AttributeError: 'NoneType' object has no attribute 'text'
#75

Maybe the class with the author name from a comment has changed and any comment is geted once the code break before taking the comment and saving.

This solution is not the best, once I remove the author name, the code stop breaking and therefore the code keeps taking comments and saving. Perhaps this could be a solution at the moment and in the future we can get back to the author's name

@CaiqueCoelho
Copy link
Author

Hi @huaying can you check this PR please? 💃

@huaying
Copy link
Owner

huaying commented Mar 14, 2020

Sorry I am not maintaining this repo. If this is just a temporarily fix, please feel free to fork this repo and work on it, thanks.

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.

2 participants