Improved the audio transformation URl function

This commit is contained in:
Manuel Cortez 2021-01-19 11:40:17 -06:00
parent 68350ce536
commit 1ef2cf46fc

View File

@ -96,6 +96,7 @@ def transform_audio_url(url):
url = url.replace("/"+parts[-2], "")
else:
url = url.replace("/"+parts[-3], "")
url = url.split(".mp3?")[0]+".mp3"
return url
def safe_filename(filename):