X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=yoweb-scrape;h=2bcd518c44d036ad8d990305ab7e03488ba195e5;hb=9244037c034569972d24e68702605292161d106d;hp=db5dc1338298a47a2c9120d2f93b168d07842ba5;hpb=e772c13a54236d87fede06c8f3364549b1c8e070;p=ypp-sc-tools.web-live.git 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('(\