diff -ru metagoofil/metagoofil.py metagoofil.new/metagoofil.py --- metagoofil/metagoofil.py 2010-08-15 21:07:15.000000000 +0200 +++ metagoofil.new/metagoofil.py 2010-08-15 20:50:20.000000000 +0200 @@ -153,14 +153,17 @@ h.endheaders() returncode, returnmsg, headers = h.getreply() data=h.getfile().read() - r1 = re.compile('About [0123456789,]* results') + #r1 = re.compile('About *[0123456789,]* results') + r1 = re.compile('resultStats>[a-zA-Z ]*[0123456789,]* results') result = r1.findall(data) if result ==[]: - r1 = re.compile('About [0123456789,]* results') + #r1 = re.compile('About [0123456789,]* results') + r1 = re.compile('resultStats>[a-zA-Z ]*[0123456789,]* results') result = r1.findall(data) for x in result: clean = re.sub(' <b>','',x) clean = re.sub('</b> ','',clean) + clean = re.sub('resultStats>','',clean) clean = re.sub('About','',clean) clean = re.sub('results','',clean) clean = re.sub(',','',clean)