mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-22 10:16:55 +00:00
NeteaseMusic热更新,修改逻辑
This commit is contained in:
parent
2e4cd03a97
commit
3373703e2a
@ -282,7 +282,7 @@
|
||||
},
|
||||
{
|
||||
"name": "neteasemusic",
|
||||
"version": "3.5",
|
||||
"version": "3.6",
|
||||
"section": "daily",
|
||||
"maintainer": "TNTcraftHIM",
|
||||
"size": "27.1 kb",
|
||||
|
@ -388,7 +388,7 @@ async def nem(context):
|
||||
music = json.loads(music.content)
|
||||
if not music['data']['url']:
|
||||
music = requests.request(
|
||||
"GET", "https://music.163.com/song/media/outer/url?id=" + str(info['id']) + ".mp3", headers=headers, proxies=proxies, verify=False)
|
||||
"GET", "https://music.163.com/song/media/outer/url?id=" + str(info['id']) + ".mp3", headers=headers, verify=False)
|
||||
if music.status_code != 200:
|
||||
continue
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user