Dear all,
How do I provide HTTP basic authentication credentials to access a mediawiki? I found several Python packages such as mechanize that allow simultaneous cookie-based authentication with HTTP basic authentication, so I know it's possible, but I'm not sure how I can do this through the PyWikipediaBot. Thanks for your attention.
Hello !
Looking into config.py _does_ help :) Grepping for "auth", I found :
# Some sites will require password identication to access the HTML pages at # the site. If you have any such site, add lines to your user-config.py of # the following form: # # authenticate['en.wikipedia.org'] = ('John','XXXXX') # # where John is your login name, and XXXXX your password.
I'm updating http://meta.wikimedia.org/wiki/Using_the_python_wikipediabot with that info.
2008/8/26 Yuhan Fang siryuhan@gmail.com:
Dear all,
How do I provide HTTP basic authentication credentials to access a mediawiki? I found several Python packages such as mechanize that allow simultaneous cookie-based authentication with HTTP basic authentication, so I know it's possible, but I'm not sure how I can do this through the PyWikipediaBot. Thanks for your attention.
-- Sincerely, Yuhan Fang
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l