diff --git a/src/client/components/downloaders/Spotify.ts b/src/client/components/downloaders/Spotify.ts index b18dd25..830e609 100644 --- a/src/client/components/downloaders/Spotify.ts +++ b/src/client/components/downloaders/Spotify.ts @@ -188,7 +188,7 @@ class SpotifyDownloader extends Downloader #parseFilename (fileName: string) { - const match = fileName.match(/(?.+)\W---\W(?.+)\W---\W(?.+)(?\.\w+)$/u); + const match = fileName.match(/(?.+)\W---\W(?.+)\W---\W(?.+)\.(?\w+)$/u); if (!match || !match.groups) throw new Error('Unknown file name format');