0 Members and 1 Guest are viewing this topic.
I'm not able to get the python script to run. Getting an invalid syntax error on line 12 (the print line).Any help? I'll be back in a couple of hours.
Shit I dont even know how to find the cache
Huck,Here's the modified code that I used (parse range is 10-59, printed to an html file that should be renderable by a browser)import refrom binascii import unhexlifyfrom gzip import GzipFilefrom itertools import chainfrom StringIO import StringIO with open("ootpou.htm", "rb") as f: html = f.read().decode("utf-8")hexlines = re.findall("<pre>(.*?)</pre>", html, flags=re.S)[2].splitlines()hexdata = ''.join(chain.from_iterable(l[10:59].split() for l in hexlines))outfile = open('decoded.html','w')print >> outfile, GzipFile(fileobj=StringIO(unhexlify(hexdata))).read()outfile.close()
Beijing and Cermaka Extend Contract
Gonzales Enters WBA Hall of Fame
Gourinho in World Baseball Association HOF
Dhuninatha Ravandur Inducted into Hall Of Fame
Hall of Fame Honors Ange Dubois
Intercontinental Baseball League Names Hitter of the Year Award Winners
IBL Defender of the Year Award Selections Announced
Sarahani Top IBL Rookie in 2149
IBL Reliever of the Year Award Winner Named
2149 IBL Pitcher of the Year Award Named
Premier Player Named by Intercontinental Baseball League
ABL Hitter of the Year Award Winners Selected
ABL Defender of the Year Award Winners Announced
Joyo Rewarded with Rookie of the Year Award
Ming Grabs ABL Reliever of the Year Award
Mahmud Khel of Santo Domingo Named Best Pitcher
ABL's Premier Player for 2149 Named
2B Duecha Jela Stays with Emperors
Mexico City Sends Malini to Sao Paulo
Chicago Beefs Ship Nakada to Rome
Chicago Ships Leyva to Beijing
Beefs Send Wang to Oslo
End of Season BNN Top Prospect List Published
Oslo Wins 2149 WBA Championship Series!