X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-test.git;a=blobdiff_plain;f=yoweb-scrape;h=2bcd518c44d036ad8d990305ab7e03488ba195e5;hp=db5dc1338298a47a2c9120d2f93b168d07842ba5;hb=9244037c034569972d24e68702605292161d106d;hpb=f7cbc65243a86793fc2c845db6b4bec233b18491 diff --git a/yoweb-scrape b/yoweb-scrape index db5dc13..2bcd518 100755 --- a/yoweb-scrape +++ b/yoweb-scrape @@ -45,6 +45,7 @@ import curses import termios import random import subprocess +import copy from optparse import OptionParser from StringIO import StringIO @@ -107,6 +108,18 @@ def yppsc_dir(): os.environ["YPPSC_YARRG_SRCBASE"] = lib return lib +soup_massage = copy.copy(BeautifulSoup.MARKUP_MASSAGE) +soup_massage.append( + (regexp.compile('(\