0 Members and 4 Guests 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()
WBA Headline News: Spring Training Begins