You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bilix v https://www.bilibili.com/video/BV1zL4y1A7UE/
WARNING STREAM Unexpected Exception class:OSError [Errno 22] Invalid argument:
'videos\\小品《我和爸爸换角色》郭冬临\t,金玉婷\t、小叮当-v.40520258104049'
WARNING STREAM Unexpected Exception class:OSError [Errno 22] Invalid argument:
'videos\\小品《我和爸爸换角色》郭冬临\t,金玉婷\t、小叮当-v.1620810020260124'
WARNING STREAM Unexpected Exception class:OSError [Errno 22] Invalid argument:
'videos\\小品《我和爸爸换角色》郭冬临\t,金玉婷\t、小叮当-v.3646822540520258'
Traceback (most recent call last):
File "C:\Users\jad\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\jad\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\jad\AppData\Local\Programs\Python\Python310\Scripts\bilix.exe\__main__.py", line 7, in <module>
File "C:\Users\jad\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "C:\Users\jad\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1055, in main
rv = self.invoke(ctx)
File "C:\Users\jad\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\jad\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "C:\Users\jad\AppData\Local\Programs\Python\Python310\lib\site-packages\bilix\__main__.py", line 374, in main
loop.run_until_complete(cor)
File "C:\Users\jad\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 646, in run_until_complete
return future.result()
File "C:\Users\jad\AppData\Local\Programs\Python\Python310\lib\site-packages\bilix\download\downloader_bilibili.py", line 405, in get_video
path_lst, _ = await asyncio.gather(asyncio.gather(*media_cors), asyncio.gather(*add_cors))
File "C:\Users\jad\AppData\Local\Programs\Python\Python310\lib\site-packages\bilix\download\base_downloader_part.py", line 180, in get_file
file_list = await asyncio.gather(*cors)
File "C:\Users\jad\AppData\Local\Programs\Python\Python310\lib\site-packages\bilix\download\base_downloader_part.py", line 202, in _get_file_part
async with \
File "C:\Users\jad\AppData\Local\Programs\Python\Python310\lib\site-packages\aiofiles\base.py", line 98, in __aenter__
self._obj = await self._coro
File "C:\Users\jad\AppData\Local\Programs\Python\Python310\lib\site-packages\aiofiles\threadpool\__init__.py", line 97, in _open
f = yield from loop.run_in_executor(executor, cb)
File "C:\Users\jad\AppData\Local\Programs\Python\Python310\lib\concurrent\futures\thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
OSError: [Errno 22] Invalid argument: 'videos\\小品《我和爸爸换角色》郭冬临\t,金玉婷\t、小叮当-v.40520258104049'
The text was updated successfully, but these errors were encountered:
例如这条视频 https://www.bilibili.com/video/BV1zL4y1A7UE/
猜测包含其他特殊字符时也可能会有类似问题,本来想修完提pr的,但发现自己对py不太熟,就只提issue好了😂
报错日志
The text was updated successfully, but these errors were encountered: