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

Receiving Error on several extract functions

Open brandon-scott-pritchard opened this issue 3 years ago • 6 comments

Hi!

I'm receiving the following information before the program stops trying to scrape more posts:

[10158163172791786] Extract method extract_video_meta didn't return anything [10158163172791786] Extract method extract_factcheck didn't return anything [10158163172791786] Extract method extract_share_information didn't return anything [10158163172791786] Extract method extract_listing didn't return anything

Any thoughts?

Also, thank you for the great program!

brandon-scott-pritchard avatar Dec 21 '21 22:12 brandon-scott-pritchard

Hi!

These aren't errors, not all posts have these items so not returning anything in that case is correct. Maybe try increase the pages parameter?

neon-ninja avatar Dec 21 '21 22:12 neon-ninja

Ok, thank you for the clarification!

brandon-scott-pritchard avatar Dec 21 '21 23:12 brandon-scott-pritchard

Hey, I am getting the above warnings in my log. I can not seem to get rid of them no matter what I do. I believe I have tried evreything on https://stackoverflow.com/questions/14463277/how-to-disable-python-warnings. Can you please make these warnings optional so that I can keep them out of my log as I use my log as a terminal in my program

DanielATucker avatar Mar 06 '22 02:03 DanielATucker

The debug messages are already optional. If you don't call enable_logging(), you shouldn't get any log messages

neon-ninja avatar Mar 30 '22 00:03 neon-ninja

I am running this in Colab and I do not call enable_logging(), but I am still getting warning messages.

kevalnagda avatar Aug 30 '22 22:08 kevalnagda

I wouldn't recommend running this in Colab, as most Facebook users don't connect from Google Colab servers, so it'll be super obvious to Facebook servers that you're scraping

neon-ninja avatar Aug 31 '22 01:08 neon-ninja