ok i was scrapping a page and this function gives me an error in my IRC bot...
help?
Code:
t = data.split(':!time ')[1]#data = irc feed file = urllib2.urlopen('http://www.timeanddate.com/worldclock/') html = file.read() html = html.split('<body>')[1] html = html.split('</span>')[2] html = html.split('<span')[0] tp = html.split(t)[1]
Comment