misc.anonradio: fix regex try 2

This commit is contained in:
Cynthia Foxwell 2022-08-16 14:32:50 -06:00
parent b111c1b468
commit 85eef5667a

View file

@ -330,7 +330,7 @@ anonradio.callback = async function (msg, line) {
subtitle = playing;
} else {
const [_, current, peakDay, peakMonth, dj, metadata] = playing.match(
/^\[(\d+)\/(\d+)\/(\d+)\] \((.+?)\): (.+?)$/
/\[(\d+)\/(\d+)\/(\d+)\] \((.+?)\): (.+)/
);
if (metadata == "https://archives.anonradio.net") {