Can get only comments numbers but comments_full is empty
See original GitHub issueI’m having problems with comments extraction during the scraping: i have the correct number of comments in ‘comments’ but i’ve the full comments list only for few post, the most are empty.
PAGES = 3
TIMEOUT = 90
EXTRA_INFO = True
OPTIONS = {"comments": True, "posts_per_page": 100, "reactors": True, "allow_extra_requests": True}
PAGE = "380062975349225"
def scrape_page():
results = list()
for post in get_posts(
account=PAGE,
pages=PAGES,
extra_info=EXTRA_INFO,
timeout=TIMEOUT,
credentials=(user, pw),
options=OPTIONS
):
results.append(post)
return results
This is an example of post from the scraping
{'post_id': '4711949398827206', 'text': 'Coordinamento [...], 'comments': 37, [...] 'comments_full': [], '}
This link is a file with the result i’ve obtained from the previous code: https://seupload.com/5Ca/scrape_results.txt I’ve the same problem also using cookies instead of credentials.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Why do the comments number on Youtube sometimes not ...
The moment it's sent BEFORE actually getting deleted, the counter goes up by 1, but when they DELETE that comment, it doesn't go...
Read more >How to fix YouTube Not Showing Comments
Is YouTube not showing comments ? Here is a quick fix.First, make sure to update the YouTube app if this is happening on...
Read more >Add or reply to comments in Numbers for iCloud - Apple Support
In Numbers for iCloud, add comments to text, tables, and other objects. Reply to comments, delete comments, and show or hide comments.
Read more >Experiment: What Happens When You Buy TikTok Comments
The comments you're buying for TikTok aren't from potential customers or fans, so they won't deliver you any real value — just empty...
Read more >Empty `comments_full` in live post · Issue #575 - GitHub
Hi @neon-ninja, I'm trying to get comments from live posts: ... cookies.txt"), options={'comments': True} )) but can't get any comment.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The logger says “No comments area found” but the comments are correctly extracted, so it works! Thanks!
@Ianneee I think https://github.com/kevinzg/facebook-scraper/commit/db3c117508cbee27b48190947bedf855b2b16166 should fix the issue with video posts redirecting to /watch/. With this commit, and this test code:
I get:
Please give it a try when convenient and let me know if it works for you.