Xqt added a comment.
Thank you @TanviReddy30 for your patch but it does not solve the underlying problem: There is not UA send with that request. `session` should not be used directly. Because a site is used here, the corresponding function is http.request() <https://doc.wikimedia.org/pywikibot/master/api_ref/pywikibot.comms.html#comms.http.request> which must be used here. Or much better an action API if available. TASK DETAIL https://phabricator.wikimedia.org/T417495 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
