D'oh!
I just spent the last hour resolving this problem (after downloading rev 1096 from Blackbolt's site)...
Though the small fix works, you can do slightly better. Here is my code, which goes in the GetGTNFO function of set_gamercard.py and gamercardupdate.py:
CODE
wsock = urllib.urlopen(str(card_url))
card_html = wsock.read()
wsock.close()
nfo = re.search('
([^<]*).*?
.*?
(.*).*?
Zone(.*)', card_html, re.IGNORECASE).groups()
return nfo
You'll never have to change a 7 to an 8 again, since this parses the whole page, but if the structure of the gamercard html changes too much then you'll of course have to rewrite the regex. This expression can handle some minor changes, which is better than before.