trappedinspacetime / wikiteam

Automatically exported from code.google.com/p/wikiteam
0 stars 0 forks source link

Wikia images fail #39

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Bug report sent by Schbirid in IRC.
----
...
    Wrack, 2 edits
    Wrath, 13 edits
    Xaero, 17 edits
    YA, 1 edits
    Yellow Armor, 16 edits
    Zombie, 3 edits
    Zombie (Q1), 38 edits
Downloaded 2860 pages
    Zombie (Q4), 16 edits
XML dump saved at... quakewikiacom-20110908-history.xml
Retrieving image filenames
<!doctype html>
<html lang="en" dir="ltr">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="viewport" content="width=1200">

    <meta property="og:type" content="article" />
<meta property="og:site_name" cont
This wiki doesn't use marks to split contain

Original issue reported on code.google.com by emi...@gmail.com on 8 Sep 2011 at 8:00

GoogleCodeExporter commented 8 years ago
fixed, added this to cleanHTML():
-----
elif re.search('<article id="WikiaMainContent" class="WikiaMainContent">', raw):
        raw = raw.split('<article id="WikiaMainContent" class="WikiaMainContent">')[1].split('</article>')[0]

Original comment by emi...@gmail.com on 8 Sep 2011 at 8:03

GoogleCodeExporter commented 8 years ago

Original comment by emi...@gmail.com on 8 Sep 2011 at 8:04