Explorar o código

fix song name regex with other languages

Sven %!s(int64=3) %!d(string=hai) anos
pai
achega
6be7cf03ec
Modificáronse 1 ficheiros con 1 adicións e 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))