Huji added a comment.
Correct. Here is how I have it now:
('fa', 'wikipedia', 'HujiBot', BotPassword('HujiBot', 'REDACTED'))
I verified that `login.py` can be run with this configuration without any
issues. I have also updated the bot script so that it explicitly says when it
is trying to block an IP. When I ran my bot again. It did one block
successfully but asked for my password when attempting a second block. Here are
the logs:
...
Checking 5.210.61.111
Checking 136.244.84.19
Blocking 136.244.84.19
Logging in to wikipedia:fa as HujiBot@HujiBot
Checking 89.198.39.196
Checking 83.123.81.153
Checking 5.209.53.251
Checking 5.235.14.22
Checking 31.56.92.175
Checking 31.56.98.144
Checking 31.2.244.214
Checking 5.127.70.237
Checking 5.117.132.109
Checking 86.55.175.176
Checking 5.122.72.65
Checking 83.123.54.83
Checking 85.93.89.107
Blocking 85.93.89.107
Logging in to wikipedia:fa as HujiBot@HujiBot
ERROR: Login failed (Aborted).
Password for user HujiBot@HujiBot on wikipedia:fa (no characters will be
shown):
TASK DETAIL
https://phabricator.wikimedia.org/T229293
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Huji
Cc: Dvorapa, Dalba, Framawiki, Aklapper, Huji, pywikibot-bugs-list, Viztor,
DannyS712, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Altostratus, Avicennasis,
mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs