JAnD added a comment.

  I asked AI and changed  pywikipot/comms/http.py :
  
  replace
  
    if site:
        script_comments.append(str(site))
  
  with
  
    if site:
        script_comments.append(
            f'{site.protocol()}://{site.hostname()}'
        )
  
  and no more problem with 429 status

TASK DETAIL
  https://phabricator.wikimedia.org/T414201

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to