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
224 stars 67 forks source link

Facebook Login page popup, --- facebook_page_scraper.driver_utilities - CRITICAL - No posts were found! #43

Open Barryxyb opened 1 year ago

Barryxyb commented 1 year ago

Here is my result running this code:

[WDM] - Current google-chrome version is 108.0.5359 [WDM] - Get LATEST driver version for 108.0.5359

[WDM] - Driver [C:\Users\Zoey.wdm\drivers\chromedriver\win32\108.0.5359.71\chromedriver.exe] found in cache 2023-01-06 22:06:59,049 - facebook_page_scraper.driver_utilities - CRITICAL - No posts were found!

-- I use proxy in the US in the code.

After the first three lines of results, the facebook login page popup in chrome. Then a few seconds of timeout, it shows no posts were found

shaikhsajid1111 commented 1 year ago

I think that's what gets you blocked. I guess using logged in account may help

tbsvttr commented 1 year ago

I am logged in and have no popups, still I get "facebook_page_scraper.driver_utilities - CRITICAL - No posts were found!". In none headless mode, I even see the posts.

shaikhsajid1111 commented 1 year ago

I tried testing. It is working, I guess it might be an issue because of regional difference

ihabpalamino commented 1 year ago

hello i tried it too its working for me while testing with postman but with angular i am getting this issue 2023-06-12 13:11:18,911 - facebook_page_scraper.driver_initialization - INFO - Using: IP:PORT [WDM] - Driver [C:\Users\HP Probook.wdm\drivers\geckodriver\win64\v0.33.0\geckodriver.exe] found in cache 2023-06-12 13:12:21,540 - facebook_page_scraper.driver_utilities - CRITICAL - No posts were found!