*23 Jan 2015* <div class="posthaven-post-body"> At least a couple of options, the first using BeautifulSoup: import urllib import BeautifulSoup soup = BeautifulSoup.BeautifulSoup(urllib.urlopen("https://www.google.com")) print soup.title.string And the second one using lxml: import lxml.html t = lxml.html.parse(url) print t.find(".//title").text </div> [[tags/code_snipplets|code_snipplets]] [[tags/computers|computers]] [[tags/software_development|software_development]] [[tags/tips|tips]]