Archived
1
0
Fork 0

Update rc_qq.py

This commit is contained in:
yzhh 2021-12-25 22:46:08 +08:00
parent 05df66a325
commit 27db9a2ca4

View file

@ -15,14 +15,15 @@ async def rc_qq(wiki_url):
rclimit=99, rclimit=99,
rctype='edit|new|log' rctype='edit|new|log'
) )
pageurl = wiki.wiki_info.articlepath.replace("$1", 'Special:RecentChanges') pageurl = wiki.wiki_info.articlepath
nodelist = [{ nodelist = [{
"type": "node", "type": "node",
"data": { "data": {
"name": f"最近更改地址", "name": f"最近更改地址",
"uin": qq_account, "uin": qq_account,
"content": [ "content": [
{"type": "text", "data": {"text": pageurl}}] {"type": "text", "data": {"text": pageurl.replace("$1", 'Special:RecentChanges')}}]
} }
}] }]
rclist = [] rclist = []