facebook-scraper icon indicating copy to clipboard operation
facebook-scraper copied to clipboard

About the issue of Unsupported Browser in Ubuntu 18

Open techieshop opened this issue 3 years ago • 2 comments

Hi,

Thanks for the module, it is versatile.

I can make it work as expected in Windows, but when I move my script to Ubuntu, it cannot run with warning of Unsupported Browser. One major difference for the running environment is my Ubuntu is a SHELL without GUI and browser liked Chrome, Firefox installed.

Do you have any suggestion?

Thanks.

Attached the error message

/usr/local/lib/python3.6/dist-packages/facebook_scraper/facebook_scraper.py:817: UserWarning: Facebook says 'Unsupported Browser' warnings.warn(f"Facebook says 'Unsupported Browser'")

techieshop avatar Feb 23 '22 01:02 techieshop

+1

aromot avatar Feb 24 '22 10:02 aromot

Hi,

Thanks for the module, it is versatile.

I can make it work as expected in Windows, but when I move my script to Ubuntu, it cannot run with warning of Unsupported Browser. One major difference for the running environment is my Ubuntu is a SHELL without GUI and browser liked Chrome, Firefox installed.

Do you have any suggestion?

Thanks.

Attached the error message

/usr/local/lib/python3.6/dist-packages/facebook_scraper/facebook_scraper.py:817: UserWarning: Facebook says 'Unsupported Browser' warnings.warn(f"Facebook says 'Unsupported Browser'")

I've solved this problem on Ubuntu using this user agent: "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"

Ianneee avatar Feb 24 '22 14:02 Ianneee