Update rc_qq.py
This commit is contained in:
parent
05df66a325
commit
27db9a2ca4
1 changed files with 3 additions and 2 deletions
|
@ -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 = []
|
||||||
|
|
Reference in a new issue