# clean up the spaces html = html.replace(' ', '') html = html.replace('\n', '') html = html.replace('\t', '')