moda20 / facebook-scraper

Scrape Facebook public pages without an API key
MIT License
77 stars 28 forks source link

get_profile returning much less information. #50

Closed asharbinkhalil closed 6 months ago

asharbinkhalil commented 6 months ago

Code

from .facebook_scraper import get_profile

with open('headers.json', 'r') as file:
    _scraper.mbasic_headers = json.load(file)

print(get_profile('zuck'))

Output

{'Friend_count': None, 'Follower_count': None, 'Following_count': None, 'Name': 'Mark Zuckerberg'}

moda20 commented 6 months ago

@asharbinkhalil this is a knwon issue right now, here is a previous issue about the same thing : https://github.com/moda20/facebook-scraper/issues/34