Saves the html code of a page in a string
by
Wyden Silvan
—
last modified
26.11.2009 11:57
import urllib2
def getHTML(self):
obj = urllib2.urlopen("http://myurl.com")
code = obj.read()
obj.close()
return unicode(code, 'utf-8')
