[Pywikipedia-l] [ pywikipediabot-Feature Requests-1968997 ] weblinkchecker should ignore 401 unauthorized
SourceForge.net
noreply at sourceforge.net
Wed May 21 19:05:51 UTC 2008
Feature Requests item #1968997, was opened at 2008-05-21 14:14
Message generated for change (Comment added) made by djbarrett
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1968997&group_id=93107
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Daniel Barrett (djbarrett)
Assigned to: Nobody/Anonymous (nobody)
Summary: weblinkchecker should ignore 401 unauthorized
Initial Comment:
Please provide an option for weblinkchecker to ignore HTTP 401 (Unauthorized) errors. Realistically, pywikipedia will not have the same authorization credentials as a "real" wiki user, especially in corporate environments.
Some data: In our corporate wiki, out of 1500 unreachable links, over 1300 were "error 401" because the sites require Windows authentication that pywikipedia does not have.
----------------------------------------------------------------------
>Comment By: Daniel Barrett (djbarrett)
Date: 2008-05-21 15:05
Message:
Logged In: YES
user_id=558133
Originator: YES
Here's a patch. I am not a Python programmer, so there's probably a better
way to do this. A better solution might be to ignore a set of error codes
provided by the caller, e.g.,
python weblinkchecker.py -ignorehttp "401,403,500"
File Added: weblinkchecker.py.diff
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1968997&group_id=93107
More information about the Pywikipedia-l
mailing list