Hi,
the trunk version's user agent is *PythonWikipediaBot/1.0*, but the description of wikipedia.py says:
setUserAgent(text): Sets the string being passed to the HTTP server as the User-agent: header. Defaults to '*Pywikipediabot/1.0*'.
This might be corrected. Not a high priority. :-) But can somebody tell me the UA of rewrite version?
On 3 January 2012 00:05, Bináris wikiposta@gmail.com wrote:
This might be corrected. Not a high priority. :-) But can somebody tell me the UA of rewrite version?
valhallasw@dorthonion:~/src/pywikipedia/rewrite/pywikibot/comms$ grep http.py -e 'agent' useragent = 'Pywikipediabot/2.0' # This should include some global version string
Merlijn
pywikipedia-l@lists.wikimedia.org