Am 02.11.2022 um 02:57 schrieb info@gno.de:
Hi Roy,this is great. And It would be nice to have a Pywikibot interface to quarry I think.xqtAm 02.11.2022 um 02:29 schrieb info@gno.de:Hi,I think blocks() can be used:https://doc.wikimedia.org/pywikibot/stable/api_ref/pywikibot.site.html#pywikibot.site._generators.GeneratorsMixin.blocksbut there is no possibility for expiry filtering and you have to do it with the query result.Maybe MySQL or SPARQL gives a way but I am not familiar wir it:BestxqtAm 01.11.2022 um 23:54 schrieb John <phoenixoverride@gmail.com>:Nothing currently exists, but should be fairly easy using a log parser and a local database._______________________________________________On Tue, Nov 1, 2022 at 5:39 PM Bináris <wikiposta@gmail.com> wrote:Hi,I want to write a script that monitors block logs or the list of active blocks for a certain reason (open proxy), and warns me if a block expires soon.Warning may be written either to a noticeboard or a mailing list, the main thing is to find them.Rationale: we give 1 year block for proxies, but after expiration they are likely to be still open, and need revision.Do we have a clever tool for this? How would you begin the task?_______________________________________________
--Bináris
pywikibot mailing list -- pywikibot@lists.wikimedia.org
To unsubscribe send an email to pywikibot-leave@lists.wikimedia.org
pywikibot mailing list -- pywikibot@lists.wikimedia.org
To unsubscribe send an email to pywikibot-leave@lists.wikimedia.org