http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9017
Revision: 9017 Author: xqt Date: 2011-03-02 05:59:57 +0000 (Wed, 02 Mar 2011) Log Message: ----------- exclude known link generates false positiv; path submitted by masti (patch bug #3196590)
Modified Paths: -------------- trunk/pywikipedia/weblinkchecker.py
Modified: trunk/pywikipedia/weblinkchecker.py =================================================================== --- trunk/pywikipedia/weblinkchecker.py 2011-02-28 18:14:23 UTC (rev 9016) +++ trunk/pywikipedia/weblinkchecker.py 2011-03-02 05:59:57 UTC (rev 9017) @@ -214,6 +214,7 @@ re.compile('.*[./@]jpl.nasa.gov(/.*)?'), # bot rejected on the site re.compile('.*[./@]itis.gov(/.*)?'), # bot rejected on the site re.compile('.*[./@]cev.lu(/.*)?'), # bot rejected on the site + re.compile('.*[./@]science.ksc.nasa.gov(/.*)?'), # very slow response resulting in bot error ]
def weblinksIn(text, withoutBracketed = False, onlyBracketed = False):
pywikipedia-svn@lists.wikimedia.org