Traceback (most recent call last):
File "xiaoet.py", line 168, in
XET().download()
File "xiaoet.py", line 164, in download
self.video(url, media_dir, title, playurl)
File "xiaoet.py", line 115, in video
with open(m3u8_file, 'wb', encoding='utf8') as f:
ValueError: binary mode doesn't take an encoding argument
Traceback (most recent call last): File "xiaoet.py", line 168, in
XET().download()
File "xiaoet.py", line 164, in download
self.video(url, media_dir, title, playurl)
File "xiaoet.py", line 115, in video
with open(m3u8_file, 'wb', encoding='utf8') as f:
ValueError: binary mode doesn't take an encoding argument