LifeActor / ykdl

a video downloader focus on China mainland video sites.(一款专注于中国大陆视频网站的视频下载器。)
https://github.com/LifeActor/ykdl
Other
1.45k stars 285 forks source link

不能https://www.acfun.cn/v/ac3791372 #525

Closed redstoneleo closed 4 years ago

redstoneleo commented 4 years ago
C:\Users\i>ykdl  https://www.acfun.cn/v/ac3791372
Traceback (most recent call last):
  File "C:\Users\i\AppData\Local\Programs\Python\Python36-32\Scripts\ykdl-script
.py", line 11, in <module>
    load_entry_point('ykdl==1.6.3', 'console_scripts', 'ykdl')()
  File "C:\Users\i\AppData\Local\Programs\Python\Python36-32\lib\site-packages\c
ykdl\__main__.py", line 193, in main
    info = parser(u)
  File "C:\Users\i\AppData\Local\Programs\Python\Python36-32\lib\site-packages\y
kdl\extractor.py", line 23, in parser
    info = self.prepare()
  File "C:\Users\i\AppData\Local\Programs\Python\Python36-32\lib\site-packages\y
kdl\extractors\acfun\acbase.py", line 46, in prepare
    m3u8Info = json.loads(m3u8Info)['adaptationSet']['representation']
TypeError: list indices must be integers or slices, not str

C:\Users\i>
karma-sun commented 4 years ago

刚试了,也是这个错误提示