Skip to content

Commit

Permalink
✨ feat: 补全歌曲元信息
Browse files Browse the repository at this point in the history
  • Loading branch information
nichuanfang committed Oct 11, 2023
1 parent 03ccb30 commit 8c09a6f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mk/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ def download(url:str,title:str=None,cover_url:str=None):
name (str): 歌曲[-歌手]
cover_url (str, optional): 封面url. Defaults to None.
"""
# 多平台删除temp文件夹
if sys.platform == 'win32':
os.system('rmdir temp')
else:
os.system('rm -rf temp')
album = None
if title != None:
# 判断是否有专辑
Expand Down

0 comments on commit 8c09a6f

Please sign in to comment.