nonebot_plugin_zyk_music
nonebot_plugin_zyk_music copied to clipboard
qqvip点歌报错~
02-18 16:50:44 [INFO] nonebot_plugin_zyk_music | 开始下载'发如雪',音源:qqvip
02-18 16:50:44 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_zyk_music) running complete
02-18 16:50:44 [ERROR] nonebot | Running Matcher(type='message', module=nonebot_plugin_zyk_music) failed.
Traceback (most recent call last):
File "c:\program files\python\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\program files\python\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Program Files\python\Scripts\nb.exe_main.py", line 7, in
File "c:\program files\python\lib\site-packages\nonebot\message.py", line 187, in run_matcher await matcher.run(bot, event, state, stack, dependency_cache) File "c:\program files\python\lib\site-packages\nonebot\internal\matcher\matcher.py", line 732, in run await self.simple_run(bot, event, state, stack, dependency_cache) File "c:\program files\python\lib\site-packages\nonebot\internal\matcher\matcher.py", line 707, in simple_run await handler( File "c:\program files\python\lib\site-packages\nonebot\dependencies_init.py", line 108, in call return await cast(Callable[..., Awaitable[R]], self.call)(**values) File "c:\program files\python\lib\site-packages\nonebot_plugin_zyk_music_init_.py", line 105, in _ info = await get_music(mode="data", source=source, name=name, proxies=proxies, br=br, path=path, n=n) File "c:\program files\python\lib\site-packages\nonebot_plugin_zyk_music\work.py", line 71, in get_music return await vip_qq_download(name, n, br, path, proxies) File "c:\program files\python\lib\site-packages\nonebot_plugin_zyk_music\work.py", line 369, in vip_qq_download async with AsyncClient(headers=headers, params=data, follow_redirects=True, timeout=None, proxies=proxies) as client: File "c:\program files\python\lib\site-packages\httpx_client.py", line 1405, in init self._mounts: typing.Dict[URLPattern, typing.Optional[AsyncBaseTransport]] = { File "c:\program files\python\lib\site-packages\httpx_client.py", line 1408, in
else self._init_proxy_transport( File "c:\program files\python\lib\site-packages\httpx_client.py", line 1461, in _init_proxy_transport return AsyncHTTPTransport( File "c:\program files\python\lib\site-packages\httpx_transports\default.py", line 275, in init elif proxy.url.scheme in ("http", "https"): AttributeError: 'int' object has no attribute 'url'
同样的报错
已解决