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

代码中有一处错误 #6

Closed
Toddwunz opened this issue Nov 27, 2018 · 1 comment
Closed

代码中有一处错误 #6

Toddwunz opened this issue Nov 27, 2018 · 1 comment

Comments

@Toddwunz
Copy link

with open(m3u8_file, 'wb', encoding='utf8') as f:
运行时报错,以binary模式打开文件,不能指定编码格式,去掉b就好了

@Yxnt
Copy link
Owner

Yxnt commented Nov 27, 2018

这个好像之前保存m3u8文件的时候碰到过,不过忘了是为啥会碰到了

@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