shaikhsajid1111 / facebook_page_scraper

Scrapes facebook's pages front end with no limitations & provides a feature to turn data into structured JSON or CSV
https://pypi.org/project/facebook-page-scraper/
MIT License
222 stars 67 forks source link

The number of reactions remains at 0 #92

Open uroux opened 8 months ago

uroux commented 8 months ago

Hello, The proposed script works very well so far. However, the reactions (likes, love, haha, etc.) remain at 0. Is it because of Facebook's language? If so, I've set it to English. However, the pop-ups remain in French when scraping. Any advice? Thanks for helping!

#import Facebook_scraper class from facebook_page_scraper
from facebook_page_scraper import Facebook_scraper

#instantiate the Facebook_scraper class

page_name = "ffkarate"
posts_count = 10000
browser = "firefox"
proxy = "user:password@IP:PORT" #if proxy requires authentication then user:password@IP:PORT
timeout = 100000 #600 seconds
headless = False
meta_ai = Facebook_scraper(page_name, posts_count, browser, proxy=proxy, timeout=timeout, headless=headless)
shaikhsajid1111 commented 8 months ago

Hi @uroux Sorry for the late reply Yes, language is a blocker for parsing reactions here. Please consider using proxies