Pull to refresh
0

Пользователь

Send message
Там выдается ошибка при создания файла с символами \/:"?*<>| и нужно будет удалить моя реализация была такая
def regul(text):
    return (re.sub('[\\\/\:\"\?\*\<\>\|]','',text.strip())).lower()
with open(regul(i["artist"]) + '_' + regul(i["title"]) + '.mp3', 'wb') as output_file: 
   output_file.write(r.content)

Information

Rating
Does not participate
Registered
Activity