-
Notifications
You must be signed in to change notification settings - Fork 640
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
"comment_reactors": True
still results in "comment_reactors": "<generator object PostExtractor.extract_reactors at 0x7f1fca7f4a40>",
#529
Comments
"comment_reactors": True
still result in "comment_reactors": "<generator object PostExtractor.extract_reactors at 0x7f1fca7f4a40>",
"comment_reactors": True
still results in "comment_reactors": "<generator object PostExtractor.extract_reactors at 0x7f1fca7f4a40>",
As per https://github.com/kevinzg/facebook-scraper/blob/master/facebook_scraper/extractors.py#L222, you would get a comment_reactors generator if comments is set to "generator". 259352a should fix this. |
No in my case comments is set to True also |
Either way, try my latest commit and see if that fixes your issue |
Could allow_extra_requests help with this? Does it allow the scraper to go deeper in the replies? |
allow_extra_requests is True by default, if you're getting comments, that's a sufficient amount of extra requests. Did my latest commit help? |
I can try this in a few hours! I’ll let you know |
Yes, I can confirm I still get |
Can you post the exact code you're using so I can try reproduce this problem? As per the pinned issue template #273 |
This is my code:
In |
<generator object PostExtractor.extract_reactors at 0x7f44366c7350> is "comment_reactors" only in replies |
Thanks, @neon-ninja. Unfortunately after reinstalling the git version with
|
@fraba I get the feeling you're not actually updating your local copy of the library. Try run |
@neon-ninja Yep, that worked. I don't get a |
Hello,
I am trying to write to json a post's comments and all reactions - including comments' reactors. I have set
"comment_reactors": True
. Still in the post dump I get a few fields such as"comment_reactors": "<generator object PostExtractor.extract_reactors at 0x7f1fca7f4a40>",
although for others I actually get as expected:Did I hit a limit in the number of nested levels the scrapers is able to get?
The text was updated successfully, but these errors were encountered: