User:逆襲的天邪鬼/unblockproxies.js

/* { action: 'query', format: 'json', list: 'logevents', letype: 'block', leuser: '逆襲的天邪鬼', lelimit: 'max', //lecontinue: '' }

{   "batchcomplete": "", "continue": { "lecontinue": "20170917014027|11136", "continue": "-||" },   "query": { "logevents": [ {               "logid": 14980, "ns": 2, "title": "User:\u5c11\u540d\u91dd\u5999\u4e38", "pageid": 724, "logpage": 724, "params": { "duration": "1 week", "flags": [ "noautoblock" ],                   "expiry": "2017-11-25T13:51:07Z" },               "type": "block", "action": "block", "user": "\u9006\u8972\u7684\u5929\u90aa\u9b3c", "timestamp": "2017-11-18T13:51:07Z", "comment": "" },           {                "logid": 14979, "ns": 2, "title": "User:Example", "pageid": 30, "logpage": 30, "params": { "duration": "2 hours", "flags": [ "noautoblock" ],                   "expiry": "2017-11-18T15:50:33Z" },               "type": "block", "action": "block", "user": "\u9006\u8972\u7684\u5929\u90aa\u9b3c", "timestamp": "2017-11-18T13:50:33Z", "comment": "test" },           {                "logid": 14838, "ns": 2, "title": "User:Example2", "pageid": 31, "logpage": 31, "params": { "duration": "2 hours", "flags": [ "noautoblock" ],                   "expiry": "2017-10-29T04:51:49Z" },               "type": "block", "action": "block", "user": "\u9006\u8972\u7684\u5929\u90aa\u9b3c", "timestamp": "2017-10-29T02:51:49Z", "comment": " [[Test|test ]]" }       ]    } } */