Deal with pages that don't exist on the VTLUUG Wiki or in Uncyclopedia

master
mutantmonkey 2010-12-21 00:30:58 -05:00
parent bbb932897b
commit c4ce3320fc
2 changed files with 4 additions and 2 deletions

View File

@ -100,7 +100,8 @@ def uncyclopedia(term, last=False):
and not '(images and media)' in para and not '(images and media)' in para
and not 'This article contains a' in para and not 'This article contains a' in para
and not 'id="coordinates"' in para and not 'id="coordinates"' in para
and not 'class="thumb' in para] and not 'class="thumb' in para
and not 'There is currently no text in this page.' in para]
# and not 'style="display:none"' in para] # and not 'style="display:none"' in para]
for i, para in enumerate(paragraphs): for i, para in enumerate(paragraphs):

View File

@ -100,7 +100,8 @@ def vtluugwiki(term, last=False):
and not '(images and media)' in para and not '(images and media)' in para
and not 'This article contains a' in para and not 'This article contains a' in para
and not 'id="coordinates"' in para and not 'id="coordinates"' in para
and not 'class="thumb' in para] and not 'class="thumb' in para
and not 'There is currently no text in this page.' in para]
# and not 'style="display:none"' in para] # and not 'style="display:none"' in para]
for i, para in enumerate(paragraphs): for i, para in enumerate(paragraphs):