Commit 326590bc authored by nanahira's avatar nanahira

fix

parent 1e2705a2
Pipeline #2287 failed with stages
in 1 minute and 34 seconds
...@@ -54,7 +54,9 @@ export class AppService { ...@@ -54,7 +54,9 @@ export class AppService {
return []; return [];
} }
const lyrics = lyricMatches const lyrics = lyricMatches
.map((m) => m.match(/\[\d+:\d+[:\.]\d+\]([^<]+)/)[1].trim()) .map((m) =>
m.match(decodeURIComponent(/\[\d+:\d+[:\.]\d+\]([^<]+)/)[1].trim()),
)
.filter((lyric) => .filter((lyric) =>
blacklistedRegex.every((regex) => !lyric.match(regex)), blacklistedRegex.every((regex) => !lyric.match(regex)),
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment