Return string Empty or Lang Error #1053
Unanswered
6m-hassaanayaz9
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have been trying to use your facebook scrapper library, and have some issues . I hope you will help me.
The steps I have followed:
Installed the lib using : pip install git+https://github.com/kevinzg/facebook-scraper.git in VS Code terminal
Created a file called fbscrap.py with code as :
from facebook_scraper import get_profile
Data=get_profile("Ahsan Ali")
print(Data)
I have tried a fully public post too :
But I am facing the issue that an empty list is returned :
{'Friend_count': None, 'Follower_count': None, 'Following_count': None, 'Name': 'مواد نہیں مل سکا'}
I do not know but it is returning everything none and in the name field it is written in Urdu language that "No data can be found".
4. If I run this code in a new file :
from facebook_scraper import get_group_info
get_group_info("makeupartistsgroup")
I get this error: UserWarning: Facebook language detected as ur_PK - for best results, set to en_US
How and from where to change the language ?
Although I have changed my fb Language to ENGLISH US,by opening my Facebook account on chrome and changing the lang.
I have read somewhere enter cookies text what does that mean and will it be used what shall be written in it??
Beta Was this translation helpful? Give feedback.
All reactions