Explorar el Código

fix song name regex with other languages

Sven hace 3 años
padre
commit
6be7cf03ec
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      BetterYTM.user.js

+ 1 - 1
BetterYTM.user.js

@@ -877,7 +877,7 @@ async function getCurrentGeniusUrl()
 
         /** @param {string} songName */
         const sanitizeSongName = (songName) => {
-            const songNameRegex = /\((\w|\d|\s|[.,\-_&/])+\)/gmi;
+            const songNameRegex = /\(.+\)/gmi;
             let sanitized;
 
             if(songName.match(songNameRegex))