diff --git a/index.js b/index.js index 4310fd4..c912399 100644 --- a/index.js +++ b/index.js @@ -12,7 +12,7 @@ const NodeID3 = require('node-id3'); const { JSDOM } = require("jsdom"); function compareCase(string) { - return string.toLowerCase().replace(/\w/gm, ""); + return string.toLowerCase().replace(/\s/gm, ""); } function pathGenerator({ url, name, channelName }) {