Merge pull request #40 from TNTcraftHIM/master

添加两个代理服务器(感谢品云大老板K3的支持)
This commit is contained in:
Pentacene 2020-08-28 20:58:33 +08:00 committed by GitHub
commit df1b734392
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -282,10 +282,10 @@
},
{
"name": "neteasemusic",
"version": "2.2",
"version": "2.3",
"section": "daily",
"maintainer": "TNTcraftHIM",
"size": "22.9 kb",
"size": "23.1 kb",
"supported": true,
"des-short": "网易云点歌",
"des": "可以在线搜索并且快速点歌歌曲信息齐全支持直接回复点歌。命令nem。"

View File

@ -23,7 +23,7 @@ async def nem(context):
proxynum = 0
headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 Edge/15.15063',
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9","X-Real-IP": "223.252.199.66"}
proxy=[{'http': 'http://music.lolico.me:39000', 'https': 'http://music.lolico.me:39000'},{'http': 'http://xbmmw.xyz:1001', 'https': 'http://xbmmw.xyz:1001'},{'http': 'http://aimer.one:2333', 'https': 'http://aimer.one:2333'}]
proxy=[{'http': 'http://172.105.61.143:8848', 'https': 'http://172.105.61.143:8848'},{'http': 'http://192.210.137.108:8848', 'https': 'http://192.210.137.108:8848'},{'http': 'http://music.lolico.me:39000', 'https': 'http://music.lolico.me:39000'},{'http': 'http://xbmmw.xyz:1001', 'https': 'http://xbmmw.xyz:1001'},{'http': 'http://aimer.one:2333', 'https': 'http://aimer.one:2333'}]
if len(context.parameter) < 2:
await context.edit("使用方法:`-nem` `<指令>` `<关键词>`\n(指令s为搜索指令p为播放\n关键词可填歌曲ID或直接回复搜索结果消息 `-nem` `p` `<歌曲数字序号>`)")
return