[01:09:33] hey. I'm wondering whether my IRC bot for some reason got blocked overnight from making `Wikiquote` `API` requests. is it possible to check? [01:09:42] * HEGEMON is lakitu by the way [01:10:46] I was testing a feature... & got it working. then when I woke up & tried again today it is failing depsite trying to roll back a few revisions. [01:15:15] appreciate you guys did get a `Wikiquote` `API` out. I remember looking & there not being one yet. [01:15:32] * appreciate you guys did get a `Wikiquote` `API` out. I *recall* looking & there not being one yet. [01:34:08] here is the Python IRC 'bot error output... https://termbin.com/a8pj [01:52:37] HEGEMON: rather than the Python error, the HTTP error would be more useful [02:29:09] tgr: I see. hmm... I will try to manage that. [02:29:17] tgr: thanks for responding as well. [02:58:59] tgr: does this help? https://termbin.com/2g05 [03:00:42] tgr: immediately after that `Python` `print()` is this error trace: https://termbin.com/qomu [03:02:10] it's possible my own late night fiddling screwed up something. I'm checking my end. [03:02:16] * it's possible my own late night fiddling screwed up something. I'm checking my *stuff*. [03:02:28] ** it's possible my own late night fiddling screwed up something. I'm checking my *work*. [03:14:32] tgr: wait... [03:14:50] there's something goofy going on that has nothing to do with you guys I wonder. I'll debug more... maybe be back. [03:16:11] one `session` request `result` (`R`) is returning `HTML`. I will untangle these wires here. thanks... maybe back later. [04:52:21] tgr: hey... I see the error is "Error: 429, 4914820" what when looked up was 'Error 429: too many requests' . . . thus it does seem I am getting throttled? [04:54:34] * tgr: hey... I see the error is "Error: 429, 4914820" *t*hat when looked up was 'Error 429: too many requests' . . . thus it does seem I am getting throttled? [04:58:50] HEGEMON: Is the Python script logged-in to api.php? Can you share more of the error response? The bottom of the response tends to include some details about which service was hit, and what the subsystem was that determined the rate limit. [04:59:02] which URL is the response to? [05:05:44] Krinkle: hey. after seeing it was a rate-limiting error I threw in `import time\ntime.sleep(10)` & it works fine. [05:06:06] * Krinkle: hey. after seeing it was a rate-limiting error I threw in *a *`import time\ntime.sleep(10)` & it works fine. [05:07:23] tgr / Krinkle . . . how long should I wait before the rate-limiting stops? [05:07:48] the IRC `Wikiquote` quote feature is used very infrequently. [05:08:10] I was using it a lot during implementing that new feature for `.quote` last night. [05:54:35] HEGEMON: Is there a Retry-After response header? [05:54:39] https://www.mediawiki.org/wiki/API:Etiquette [05:54:43] https://wikitech.wikimedia.org/wiki/Robot_policy [06:33:42] Krinkle: I don't see one. [06:36:40] Krinkle: I did read thru that & it said helpful things . . . including to not request together but infrequently thru time. [20:38:41] HEGEMON: please set a user agent that's not just the default value for whatever tool you are using