diff --git a/list.json b/list.json index 3a51271..424c7d9 100644 --- a/list.json +++ b/list.json @@ -282,10 +282,10 @@ }, { "name": "neteasemusic", - "version": "1.6", + "version": "1.7", "section": "daily", "maintainer": "TNTcraftHIM", - "size": "22.2 kb", + "size": "22.5 kb", "supported": true, "des-short": "网易云点歌", "des": "可以在线搜索并且快速点歌,歌曲信息齐全,支持直接回复点歌。命令:nem。" diff --git a/neteasemusic.py b/neteasemusic.py index fcbf00a..029445d 100644 --- a/neteasemusic.py +++ b/neteasemusic.py @@ -311,6 +311,10 @@ async def nem(context): with open(file, 'wb') as fp: fp.write(content) for __ in range(6): #最多尝试6次 + if proxynum > (len(proxy) -1): #代理自动切换至下一个 + proxynum = 0 + proxies = proxy[proxynum] + proxynum += 1 try: WangyiyunDownload().download() ccimported = True