mirror of
https://github.com/zhaarey/AppleMusicDecrypt.git
synced 2025-10-23 15:11:06 +00:00
fix: #6
This commit is contained in:
@@ -111,7 +111,7 @@ def check_song_exists(metadata, config: Download, codec: str, playlist: Playlist
|
||||
|
||||
|
||||
def get_valid_filename(filename: str):
|
||||
return "".join(i for i in filename if i not in r"\/:*?<>|")
|
||||
return "".join(i for i in filename if i not in ["<", ">", ":", "\"", "/", "\\", "|", "?", "*"])
|
||||
|
||||
|
||||
def get_codec_from_codec_id(codec_id: str) -> str:
|
||||
|
||||
Reference in New Issue
Block a user