Feature Requests item #1968997, was opened at 2008-05-21 20:14 Message generated for change (Comment added) made by nicdumz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1968997...
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: Closed
Priority: 5 Private: No Submitted By: Daniel Barrett (djbarrett)
Assigned to: NicDumZ — Nicolas Dumazet (nicdumz)
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: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2008-05-22 20:10
Message: Logged In: YES user_id=1963242 Originator: NO
Okay, I added an -ignore: parameter in r5424. It can be added several times, as you needed it. Tell me how it works ;)
----------------------------------------------------------------------
Comment By: Daniel Barrett (djbarrett) Date: 2008-05-21 21: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...