From 3c43b3cde39d953abcf4a7ee91951f3a0d0f4ec7 Mon Sep 17 00:00:00 2001 From: emijrp Date: Thu, 8 Sep 2011 20:00:33 +0000 Subject: [PATCH] fixing issue #39 wikia images error git-svn-id: https://wikiteam.googlecode.com/svn/trunk@261 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95 --- dumpgenerator.py | 2 ++ 1 file changed, 2 insertions(+) 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'