LifeActor / ykdl

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

Python 3.10 windows compability problem #625

Closed wnpllrzodiac closed 1 year ago

wnpllrzodiac commented 1 year ago

在提交前,请确保您已经检查了以下内容!

请将错误输出粘贴在下面: ykdl-1.8.1.post1

D:\Archive\drawing\haha>ykdl "https://www.bilibili.com/video/BV1Nk4y117ac?p=16"
Traceback (most recent call last):
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python310-32\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python310-32\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python310-32\Scripts\ykdl.exe\__main__.py", line 4, in <module>
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python310-32\lib\site-packages\cykdl\__main__.py", line 28, in <module>
    from ykdl.util.m3u8 import live_m3u8, crypto_m3u8, load_m3u8, _load as _load_m3u8
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python310-32\lib\site-packages\ykdl\util\m3u8.py", line 25, in <module>
    from m3u8.parser import urljoin
ImportError: cannot import name 'urljoin' from 'm3u8.parser' (C:\Users\xxx\AppData\Local\Programs\Python\Python310-32\lib\site-packages\m3u8\parser.py)

如果你有其他附言,例如问题只在某个视频发生,或者是一般性讨论或者提出新功能,请在下面添加:

[在这里输入内容文本]

SeaHOH commented 1 year ago

1.8.2 已释出,请更新。