kevinzg / facebook-scraper

Scrape Facebook public pages without an API key
MIT License
2.45k stars 633 forks source link

get_profile is taking 10-12 seconds - can this be faster? #988

Open jocejocejoe opened 1 year ago

jocejocejoe commented 1 year ago

Hi, I was wondering if there are options to speed up a get_profile request, and still get the profile photo URL.

I'm doing simply:

get_profile(name, friends=False, cookies="foo")

and it takes around 10 seconds. It's much faster with allow_extra_requests=False but then that doesn't get the profile_picture, which is really the only thing I'm interested in. Anything I can do, or is just this the time it takes?

Thanks!