Skip to content
This repository has been archived by the owner on Jan 12, 2020. It is now read-only.

Commit

Permalink
依然小修小改
Browse files Browse the repository at this point in the history
  • Loading branch information
xyqyear committed Apr 30, 2018
1 parent f6cc1d4 commit 3c21a7e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions Exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,11 @@ def save_m3u(m3u_content, encoding='utf-8'):
"""把m3u字典写入文件"""
for name, content in m3u_content.items():
# 去除敏感字符
name = name.replace('\\',' ')\
.replace('/',' ').replace(':',' ')\
.replace('*',' ').replace('?',' ')\
.replace('"',' ').replace('<',' ')\
.replace('>',' ').replace('|',' ')
name = name.replace('\\', ' ')\
.replace('/', ' ').replace(':', ' ')\
.replace('*', ' ').replace('?', ' ')\
.replace('"', ' ').replace('<', ' ')\
.replace('>', ' ').replace('|', ' ')
with open(name + '.m3u', 'w', encoding=encoding) as m3u_file:
m3u_file.write(content)

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 导出网易云歌单为m3u

_**代码已经完全重写,与旧版本完全没有任何关系了(ૢ˃ꌂ˂ૢ)**_
_**代码已经完全重写,与旧版本完全没有任何关系了(ૢ˃ꌂ˂ૢ)**_\
**_适用于Windows_**

#### 此程序可以分析网易云客户端的数据库文件\
Expand Down Expand Up @@ -49,7 +49,7 @@ _**代码已经完全重写,与旧版本完全没有任何关系了(ૢ˃ꌂ˂
- [ ] 简单的GUI
- [ ] 自定义输出播放列表文件目录
- [ ] 图形化选择输出的歌单
- [ ]
- [ ] ...

## 以下是各个函数的说明:

Expand Down

0 comments on commit 3c21a7e

Please sign in to comment.