diff --git a/dumpgenerator.py b/dumpgenerator.py index 6632b8b..82bc5c4 100644 --- a/dumpgenerator.py +++ b/dumpgenerator.py @@ -53,6 +53,8 @@ def cleanHTML(raw=''): raw = raw.split('')[1].split('')[0] elif re.search('', raw): raw = raw.split('')[1].split('')[0] + elif re.search('
', raw): + raw = raw.split('
')[1].split('
')[0] else: print raw[:250] print 'This wiki doesn\'t use marks to split contain'