Skip to content
This repository has been archived by the owner on Oct 29, 2021. It is now read-only.

运行报错,求解感谢。 #7

Closed
ghost opened this issue Nov 29, 2018 · 4 comments
Closed

运行报错,求解感谢。 #7

ghost opened this issue Nov 29, 2018 · 4 comments

Comments

@ghost
Copy link

ghost commented Nov 29, 2018

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

@Toddwunz
Copy link

with open(m3u8_file, 'wb', encoding='utf8') as f:
把wb改为w

@Yxnt
Copy link
Owner

Yxnt commented Nov 30, 2018

看来小鹅通最近有改动。-。- 之前做这个脚本都是帮小伙伴弄的。

@ghost
Copy link
Author

ghost commented Nov 30, 2018

看来小鹅通最近有改动。-。- 之前做这个脚本都是帮小伙伴弄的。

最后说用Mac上Downie下载的

@Yxnt
Copy link
Owner

Yxnt commented Nov 30, 2018

看来小鹅通最近有改动。-。- 之前做这个脚本都是帮小伙伴弄的。

最后说用Mac上Downie下载的

-。-好吧,那我关闭了这个issue了

@Yxnt Yxnt closed this as completed Nov 30, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants