Comments (2)
谢谢你的反馈.
但是若按照你的修改方法,会存在以下问题:
my_path = my_path.replace('/', '-') # 本代码若将其全部替换为-,意味着如下:C:/aa/aa/aas/as - sa.flac将会变为C:-aa-aa-aas-as - sa.flac,此路径为非法路径。
if not onlyShowSingerSelfSongs:
if not os.path.exists(my_path):
os.mkdir(f"{my_path}") # 在这里创建路径是非法路径:C:-aa-aa-aas-as - sa.flac
如果你的意思是
my_path = download_home+it['singer']+'\'
歌曲的名称中出现了非法字符:如“<>/?.”等,可以就以下两个值进行处理
1 {it['singer']}
2 {it['title']}
代码片段 函数 def parseList(list, target):
.....
songs.append({
'prefix': code,
'extra': format,
'notice': qStr,
'mid': mid,
'songmid': i['mid'],
'size': fsize,
'title': f'{i["title"]}', # 此处对歌曲名称做处理
'singer': f'{singer}', # 此处对歌手名称做处理
'album': albumName}) # 此处对专辑名称做处理
位于代码346行处。
from musicdownload.
有关此问题,我将会在近期修复,谢谢你的测试,如果有提供样本音乐名称供测试就更好了🤓🤓🤓
from musicdownload.
Related Issues (20)
- 下载失败 HOT 8
- 请问如何设置下载不单独创建文件夹? 就是所有的都放一个目录里面就可以了呢?
- 网易云扫码登录BUG HOT 1
- [BUG]搜索关键词输入未校验空格
- 酷我H5的搜索接口失效
- QQ音乐专辑只能看到前60首音乐
- 挂个狂妄的人 HOT 3
- 请求出错?下载不成功,用docker跑的 HOT 13
- 建议:浏览器插件过滤了左边栏布局
- 无损下载下来发现不是真正无损 HOT 20
- 网易云下载是不是挂了? HOT 1
- 大佬 qq音乐的好像失效了 HOT 18
- 大佬能修复一下qq吗?感谢! HOT 3
- QQ音乐搜索下载后,提示等待扫码(详见终端日志) HOT 4
- 可用的QQ音乐源 HOT 3
- 大佬能否添加一个填自己QQ音乐会员COOKIE的功能 HOT 8
- kuwo not working HOT 2
- Flac files downloaded from QQ are corrupted HOT 8
- 本项目被律师函警告了 有狗东西拿着本项目倒卖正版音源 我宣布永久停更 HOT 1
- 之前贡献过代码的人加tg发我你的github用户名 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from musicdownload.