Improved the audio transformation URl function
This commit is contained in:
parent
68350ce536
commit
1ef2cf46fc
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user