facebook-scraper: Can't get profile of user
I’ve used the library previously but I can’t seem to get the followers as I did before. I’m trying to get both profile and post of a given page. In this case, it’s chambajuice but it seems like it doesn’t work similarly to before
Requesting page from: /chambajuice/about/
'NoneType' object has no attribute 'text'
Requesting page from: /chambajuice/
No ld+json element
Chamba Juice, Milkytea & Shake, Manila, Philippines. 985 likes · 10 talking about this · 84 were here. Fresh, delicious, yummy, refreshing and affordable...
Starting to iterate pages
Requesting page from: https://m.facebook.com/chambajuice/posts/
Parsing page response
Got 1 raw posts from page
Extracting posts from page 0
Got exact timestamp from publish_time: 2022-01-31 22:23:16
Fetching 2798252983813030
[2798252983813030] Exception while running extract_video_meta: AttributeError("'int' object has no attribute 'startswith'")
[2798252983813030] Extract method extract_factcheck didn't return anything
2798252983813030 is a share of 971205523814595
data-ft attribute not found
[2798252983813030] Exception while running extract_share_information: RecursionError('maximum recursion depth exceeded in comparison')
[2798252983813030] Extract method extract_listing didn't return anything
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 34
It finally worked!!! Thank you so much for the help!!! I really appreciate it. What worked for me was I re-installed
facebook-scraperusing the--force-reinstallflag ofpip. Afterwards, I did theset_user_agentwhich I also think did the job. Thank you so much for all the help the past few days!