🚩 详细网易云描述,迭代版本号,符号细微改动 (#2)

* 网易云布局调整&内容add

* 迭代网易云版本号,更新网易云说明
This commit is contained in:
KorenKrita 2020-08-12 09:36:17 +08:00 committed by GitHub
parent 2397247c41
commit 7c8a840ac9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -102,13 +102,13 @@
},
{
"name": "netease",
"version": "1.2",
"version": "1.3",
"section": "daily",
"maintainer": "xtaodada、KorenKrita",
"size": "0.7 kb",
"supported": true,
"des-short": "随机一条网易云音乐。",
"des": "这个人很懒,什么都没有留下。"
"des-short": "随机一条网易云音乐评。",
"des": "大多数情况下稍等TG缓存片刻即可有歌曲在下方预览若无则为该歌曲已被网易云下架。"
},
{
"name": "atadmins_atall",
@ -141,4 +141,4 @@
"des": "非链接的纯文字将直接隐藏。"
}
]
}
}

View File

@ -12,8 +12,8 @@ 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=' + str(data['SongId']) + '.mp3">' + \
data['SongName'] + '</a>"-' + data['SongAutho'] + '</a>下方的评论'
'UserName'] + ' 在鸽曲 <a href="http://music.163.com/song/media/outer/url?id=' + str(data['SongId']) + '.mp3">' + \
data['SongName'] + ' --by' + data['SongAutho'] + '</a>' + ' 下方的评论\n\n该评论获得了' + str(data['likedCount']) + '个赞!'
await context.edit(res, parse_mode='html', link_preview=True)
else:
await context.edit("出错了呜呜呜 ~ 无法访问到 API 服务器 。")
await context.edit("出错了呜呜呜 ~ 无法访问到 API 服务器 。")