WikiTeam / wikiteam

Tools for downloading and preserving wikis. We archive wikis, from Wikipedia to tiniest wikis. As of 2024, WikiTeam has preserved more than 600,000 wikis.
https://github.com/WikiTeam
GNU General Public License v3.0
714 stars 148 forks source link

Wikis with poor-man's HTTP Basic Auth fail with HTTP 401 #41

Open emijrp opened 10 years ago

emijrp commented 10 years ago

From mcewen....@gmail.com on October 24, 2011 22:03:55

What steps will reproduce the problem? 1. Use the current dumpgenerator.py on wiki.musicbrainz.org (no API, only index, at http://wiki.musicbrainz.org/ )

  1. Watch it fail What is the expected output? What do you see instead? Should start dumping. Instead, throws urllib2 error for HTTP 401 What version of the product are you using? On what operating system? Current SVN, Arch Linux, Python 2.7.2 Please provide any additional information below. Attached file fixes the problem for me (I've added --username and --password to config and then use them, when they're set, to add the proper Basic: HTTP header).

Attachment: dumpgenerator.py

Original issue: http://code.google.com/p/wikiteam/issues/detail?id=41

emijrp commented 10 years ago

From nemow...@gmail.com on February 29, 2012 15:46:57

Labels: -Priority-Medium Priority-Low

emijrp commented 10 years ago

From rbooksta...@gmail.com on March 21, 2013 09:10:50

I tried your script with username and password set and it fails for me the same way the base script does -- see https://groups.google.com/forum/?fromgroups=#!topic/wikiteam-discuss/YqTih3-IWLQ

emijrp commented 10 years ago

From ad...@alphacorp.tk on November 11, 2013 22:38:57

Blocking: wikiteam:75