mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-22 18:46:21 +00:00
commit
bec607f767
@ -282,10 +282,10 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "neteasemusic",
|
"name": "neteasemusic",
|
||||||
"version": "1.6",
|
"version": "1.7",
|
||||||
"section": "daily",
|
"section": "daily",
|
||||||
"maintainer": "TNTcraftHIM",
|
"maintainer": "TNTcraftHIM",
|
||||||
"size": "22.2 kb",
|
"size": "22.5 kb",
|
||||||
"supported": true,
|
"supported": true,
|
||||||
"des-short": "网易云点歌",
|
"des-short": "网易云点歌",
|
||||||
"des": "可以在线搜索并且快速点歌,歌曲信息齐全,支持直接回复点歌。命令:nem。"
|
"des": "可以在线搜索并且快速点歌,歌曲信息齐全,支持直接回复点歌。命令:nem。"
|
||||||
|
@ -311,6 +311,10 @@ async def nem(context):
|
|||||||
with open(file, 'wb') as fp:
|
with open(file, 'wb') as fp:
|
||||||
fp.write(content)
|
fp.write(content)
|
||||||
for __ in range(6): #最多尝试6次
|
for __ in range(6): #最多尝试6次
|
||||||
|
if proxynum > (len(proxy) -1): #代理自动切换至下一个
|
||||||
|
proxynum = 0
|
||||||
|
proxies = proxy[proxynum]
|
||||||
|
proxynum += 1
|
||||||
try:
|
try:
|
||||||
WangyiyunDownload().download()
|
WangyiyunDownload().download()
|
||||||
ccimported = True
|
ccimported = True
|
||||||
|
Loading…
Reference in New Issue
Block a user