Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

下载韩文歌名歌曲会报错 #23

Open
cjcyx opened this issue Nov 30, 2017 · 1 comment
Open

下载韩文歌名歌曲会报错 #23

cjcyx opened this issue Nov 30, 2017 · 1 comment

Comments

@cjcyx
Copy link

cjcyx commented Nov 30, 2017

歌曲名称中存在韩文会报错 示例歌曲ID 5324243 歌名 당신이 가신 비온 뒤 맑은 하늘을 바라봅니다

@cjcyx
Copy link
Author

cjcyx commented Nov 30, 2017

参见http://blog.csdn.net/jim7424994/article/details/22675759文章,在start.py开头加入
import io
import sys
sys.stdout = io.TextIOWrapper(sys.stdout.buffer,encoding='gb18030') #改变标准输出的默认编码
后解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant