How can I retrieve the page title of a webpage (title html tag) using Python?
soup.title.string actually returns a unicode string.
To convert that into normal string, you need to do
string=string.encode('ascii','ignore')
How can I retrieve the page title of a webpage using Python?