Closed yoyosnart closed 3 years ago
@yoyosnart
你可以先自行下载 https://github.com/zhangn1985/ykdl/blob/b1faf1d9da5a2e71904787db2b0f9354e88eb52b/ykdl/extractors/douyu/live.py 并替换 c:\users\pig\appdata\local\programs\python\python37-32\lib\site-packages\ykdl\extractors\douyu\live.py
再等待正式更新。
@yoyosnart 你可以先自行下载 https://github.com/zhangn1985/ykdl/blob/b1faf1d9da5a2e71904787db2b0f9354e88eb52b/ykdl/extractors/douyu/live.py 并替换
c:\users\pig\appdata\local\programs\python\python37-32\lib\site-packages\ykdl\extractors\douyu\live.py
再等待正式更新。
替换后问题已解决
在提交前,请确保您已经检查了以下内容!
ykdl
下载。ykdl
为最新版。ykdl
,而不是其他项目。请将错误输出粘贴在下面:
Traceback (most recent call last): File "C:\Users\pig\AppData\Local\Programs\Python\Python37-32\Scripts\ykdl-script.py", line 11, in
load_entry_point('ykdl==1.7.0', 'console_scripts', 'ykdl')()
File "c:\users\pig\appdata\local\programs\python\python37-32\lib\site-packages\cykdl__main__.py", line 197, in main
info = parser(u)
File "c:\users\pig\appdata\local\programs\python\python37-32\lib\site-packages\ykdl\extractor.py", line 23, in parser
info = self.prepare()
File "c:\users\pig\appdata\local\programs\python\python37-32\lib\site-packages\ykdl\extractors\douyu\live.py", line 105, in prepare
error_msg = get_live_info()
File "c:\users\pig\appdata\local\programs\python\python37-32\lib\site-packages\ykdl\extractors\douyu\live.py", line 83, in get_live_info
stream = self.profile_2_id[video_profile]
KeyError: '原画'
如果您有其他附言,例如问题只在某个视频发生,或者是一般性讨论或者提出新功能,请在下面添加: