-
Notifications
You must be signed in to change notification settings - Fork 29
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 only get at most 20 relevant comments #43
Comments
in the extractor.py , i have made the following changes to get more than 20 comments.
|
Thank you for answering. My problem is about comments and not replies, and I found out it's actually this code
that is having problem - it returns none. I think it's something about mbasic pages, seems like it only gives relevant comments |
i have managed to update some of the codes provided, you may see the code in my repository, especially the extractor i would try to make pull request if i think it is good |
I got a lot of warnings and errors, and still only relevant comments are scraped |
@Raymondkltse Thank you for the great work! But I have the same problem. While your code performs well in scraping comment replies, I cannot get all comments to a post. An example:
gives me the following warnings: _WARNING:facebook_scraper.extractors:[None] Extract method extract_post_url didn't return anything And then the first most important comments, including the replies. But not all comments. Can you imagine any solution to this? |
Here is my code:
It returns at most 20 comments and they are all "relevant" ones but not "all comments".
The kevinzg version succeeds in getting all comments, but I think it requires using URLs starting with "pfbid" which I don't know how to get.
The text was updated successfully, but these errors were encountered: