mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-22 15:38:26 +00:00
NeteaseMusic热更新,修改逻辑
This commit is contained in:
parent
2e4cd03a97
commit
3373703e2a
@ -282,7 +282,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "neteasemusic",
|
"name": "neteasemusic",
|
||||||
"version": "3.5",
|
"version": "3.6",
|
||||||
"section": "daily",
|
"section": "daily",
|
||||||
"maintainer": "TNTcraftHIM",
|
"maintainer": "TNTcraftHIM",
|
||||||
"size": "27.1 kb",
|
"size": "27.1 kb",
|
||||||
|
@ -388,7 +388,7 @@ async def nem(context):
|
|||||||
music = json.loads(music.content)
|
music = json.loads(music.content)
|
||||||
if not music['data']['url']:
|
if not music['data']['url']:
|
||||||
music = requests.request(
|
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:
|
if music.status_code != 200:
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user