PDA

View Full Version : Launchbrowser.py and fixing artist bios


PainBreak
2005-03-16, 01:58
to fix the artist bios, change

biore = re.compile('<table cellpadding="5" cellspacing="0" border="0" width="401">(.+?)</table></td>',re.multiline + re.dotall)

to

biore = re.compile('<td bgcolor="ffffff" align="center"><table cellpadding="5" cellspacing="0" border="0" width="401">(.+?)</table></td>',re.multiline + re.dotall)


the garbage at the bottom of the page has the same table properties, so it was grabbing that instead of the good stuff.

Kain
2005-03-16, 04:16
sweet dude, worked perfect the first time. i love this script :kickass: