How can I retrieve the page title of a webpage (title html tag) using Python?
Using regular expressions
import re match = re.search('(.*?)', raw_html) title = match.group(1) if match else 'No title'