mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-22 01:15:34 +00:00
🚩 netease 在歌曲上添加试听链接
This commit is contained in:
parent
a668e1acb5
commit
91bb890de9
@ -102,7 +102,7 @@
|
||||
},
|
||||
{
|
||||
"name": "netease",
|
||||
"version": "1.1",
|
||||
"version": "1.2",
|
||||
"section": "daily",
|
||||
"maintainer": "xtaodada、KorenKrita",
|
||||
"size": "0.7 kb",
|
||||
|
@ -12,7 +12,7 @@ async def netease(context):
|
||||
if req.status_code == 200:
|
||||
data = json.loads(req.text)
|
||||
res = data['Comment'] + '\n\n来自 @' + data[
|
||||
'UserName'] + ' 在鸽曲"<a href="http://music.163.com/song/media/outer/url?id=' + data['SongId'] + '.mp3">' + \
|
||||
'UserName'] + ' 在鸽曲"<a href="http://music.163.com/song/media/outer/url?id=' + str(data['SongId']) + '.mp3">' + \
|
||||
data['SongName'] + '</a>"-' + data['SongAutho'] + '</a>下方的评论'
|
||||
await context.edit(res, parse_mode='html', link_preview=True)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user