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

Can not fetch the comment with error #75

Open
cytwill opened this issue Feb 28, 2020 · 1 comment
Open

Can not fetch the comment with error #75

cytwill opened this issue Feb 28, 2020 · 1 comment

Comments

@cytwill
Copy link

cytwill commented Feb 28, 2020

Hi, huaying, I just tried to use this IG-crawler to obtain comments of IG posts, but got such replies when running the example codes:

author = browser.find_one(".FPmhX", els_comment).text
AttributeError: 'NoneType' object has no attribute 'text'

So I guess there might be some updates to the IG javascript that might name these components with different labels, could you help me to check these?

@CaiqueCoelho
Copy link

Hi @cytwill I have done some fix that allows to get the comments without the author name, perhaps this is a solution for now, until someone fix the path to get author name, the fix is in #76 cc @huaying

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

2 participants