jenkins-bot has submitted this change and it was merged.
Change subject: Remove old unneeded URL exclusion rules
......................................................................
Remove old unneeded URL exclusion rules
No problems are experienced now accessing these URLs
using requests.
Bug: T124015
Change-Id: I1f33969058fc67f8437f2f92325faba636a9c81c
---
M scripts/weblinkchecker.py
1 file changed, 1 insertion(+), 12 deletions(-)
Approvals:
MtDu: Looks good to me, but someone else must approve
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/scripts/weblinkchecker.py b/scripts/weblinkchecker.py
index 51bce05..ed22c3c 100755
--- a/scripts/weblinkchecker.py
+++ b/scripts/weblinkchecker.py
@@ -133,7 +133,6 @@
import requests
-# TODO: Convert to httlib2
if sys.version_info[0] > 2:
import http.client as httplib
import urllib.parse as urlparse
@@ -164,20 +163,10 @@
re.compile(r'.*[\./(a)]example\.org(/.*)?'),
# Other special cases
- # bot somehow can't handle their redirects:
- re.compile(r'.*[\./(a)]gso\.gbv\.de(/.*)?'),
re.compile(r'.*[\./(a)]berlinonline\.de(/.*)?'),
# above entry to be manually fixed per request at [[de:Benutzer:BLueFiSH.as/BZ]]
# bot can't handle their redirects:
- re.compile(r'.*[\./(a)]bodo\.kommune\.no(/.*)?'),
- re.compile(r'.*[\./(a)]jpl\.nasa\.gov(/.*)?'), # bot rejected on the site
- re.compile(r'.*[\./(a)]itis\.gov(/.*)?'), # bot rejected on the site
- re.compile(r'.*[\./(a)]cev\.lu(/.*)?'), # bot rejected on the site
- # very slow response resulting in bot error:
- re.compile(r'.*[\./(a)]science\.ksc\.nasa\.gov(/.*)?'),
- re.compile(r'.*[\./(a)]britannica\.com(/.*)?'), # HTTP redirect loop
- # bot rejected on the site:
- re.compile(r'.*[\./(a)]quickfacts\.census\.gov(/.*)?'),
+
# bot rejected on the site, already archived
re.compile(r'.*[\./(a)]web\.archive\.org(/.*)?'),
]
--
To view, visit https://gerrit.wikimedia.org/r/265442
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I1f33969058fc67f8437f2f92325faba636a9c81c
Gerrit-PatchSet: 2
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: MtDu <justin.d128(a)gmail.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot <>
Build Update for wikimedia/pywikibot-core
-------------------------------------
Build: #3194
Status: Errored
Duration: 1 hour, 12 minutes, and 6 seconds
Commit: f961519 (master)
Author: Yusuke Matsubara
Message: archivebot: conformance to translate() and additional shorthands
Use dict as the argument for translate().
Additional shorthand notations for "years" and "weeks".
Change-Id: I1ef93cf16f0345ab858532e7a9c2063c76c554c4
View the changeset: https://github.com/wikimedia/pywikibot-core/compare/d486ac657075...f9615190…
View the full build log and details: https://travis-ci.org/wikimedia/pywikibot-core/builds/103564828
--
You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications