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(a)gmail.com>om>:
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(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
--
Nicolas Dumazet — NicDumZ [ nɪk.d̪ymz ]
pywikipedia & mediawiki