facebook-scraper
facebook-scraper copied to clipboard
How would I be able to assign parts of the output of getprofile to variables?
Hey all,
Apologies if this is a simple question to answer, but I was wondering how I could assign a specific part of the output of "getprofile" for instance: a user's name. Would this be possible and if so, how?
Thanks in advance.
The result is a standard Python dictionary. You can access dictionary keys and assign them to variables like so name = result["name"]