Open awsms opened 1 year ago
It seems the track doesnt have an extension and soundcloud didnt label it with Content-Type: (mime type)
. So the propper solution would probably be to implement functionality like unix file
command:
$ file Kurplaxin\ by\ Vibramax.unknown
Kurplaxin by Vibramax.unknown: RIFF (little-endian) data, WAVE audio
As a temporary solution you can open the location of the script and add the following before line 633:
= # Find file extension
= mime = r.headers.get("content-type")
= ext = ext or mimetypes.guess_extension(mime)
+
+ if ext == "" or ext == None:
+ ext = ".unknown"
+
= filename += ext
ext
here is the file extension.
always getting this error on https://soundcloud.com/stanlepard/kurplaxin-by-vibramax