Page MenuHomePhabricator

Can not authenticate my bot
Closed, InvalidPublic

Description

I have downloaded Pywikibot 2.0rc5, I have registered my bot https://meta.wikimedia.org/wiki/Special:Log/mwoauthconsumer/VriuBot, I have added my authetication codes to my user-config.py

family = 'wikipedia'
mylang = 'ca'
usernames['wikipedia']['ca'] = u'VriuBot'
authenticate['*.wikipedia.org'] = ('<consumer_token>','<consumer_secret>', '<access_token>', '<access_secret>')

but it continues asking for my password:

WARNING: core_stable\pywikibot\family.py:930: FamilyMaintenanceWarning: F
amily name wikimediachapter does not match family module name wikimedia
Password for user VriuBot on wikipedia:ca (no characters will be shown):

Event Timeline

I believe pywikibot 3 (master branch) is required for OAuth. On pywikibot 2 authenticate only meant HTTP authentication.

Solved updating to version 3.0-dev. Thanks.

Framawiki added a subscriber: Framawiki.

Mark as resolved.