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

[BUG]歌曲文件名带英文问号会报错 #21

Closed
Michany opened this issue Mar 29, 2019 · 2 comments
Closed

[BUG]歌曲文件名带英文问号会报错 #21

Michany opened this issue Mar 29, 2019 · 2 comments

Comments

@Michany
Copy link

Michany commented Mar 29, 2019

问题描述(Question description)
歌曲文件名带英文问号会报错
(win系统无法创建有英文问号的文件)

  • 搜索的关键字(Keyword):“Wham! The Final”
  • 出错的音乐源(Music source):(all)
  • 使用的命令(Command used):music-dl -k "Wham! The Final" --outdir "F:" -c 15

使用的环境(Environment)

  • 安装方式(Installation method):pip3
  • music-dl版本(music-dl version):最新
  • 操作系统版本(OS version):win 10
  • Python版本(Python version):3.6.5

截图
image

修改建议
英文问号自动替换为中文问号

自动删除英文问号

@Michany
Copy link
Author

Michany commented Mar 29, 2019

music.py
line 198
改为outfile = self.fullname.replace("?","")

@0xHJK
Copy link
Owner

0xHJK commented Apr 2, 2019

多谢建议 问题已修复

@0xHJK 0xHJK closed this as completed Apr 2, 2019
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

2 participants