kevinzg / facebook-scraper

Scrape Facebook public pages without an API key
MIT License
2.45k stars 633 forks source link

Warning should explain how to set Facebook language to en_US #1025

Open page200 opened 1 year ago

page200 commented 1 year ago

There's the following warning: "facebook_scraper.py:855: UserWarning: Facebook language detected as ar_AR - for best results, set to en_US"

Please modify the text of the warning such that it explains how to "set to en_US". Are there exactly two options: a cookie and a proxy?

DiegoChito commented 1 year ago

Hello! Its something you have to change y your cookies. First of all change your language in your Facebook settings. Then export again your cookies and thats it.

page200 commented 1 year ago

Thank you for the info!

The warning message should provide this info. Moreover, probably using a proxy is also an alternative method that should be mentioned, because the language without a cookie seems to be location-based.