I'm trying to extract data from facebook but while scraping, I'm stuck at the unicode type error. Actually the text which I'm trying to scrape contains information like:
Hi, this is text
The code which throws an exception of unicodeEncodeError is something like:
driver.find_elements_by_xpath('//p').text
Any hint to overcome this issue.