Strip " - Topic" from YouTube artist channel names

This commit is contained in:
MeowcaTheoRange 2024-02-21 08:51:19 -06:00
parent 1fd4e96a3c
commit 7955fc4459

View file

@ -77,6 +77,8 @@ async function getVideo() {
channelName: youtubeMusicVideo.artists[0].name
}
selectedVideo.channelName = selectedVideo.channelName.replace(/\s-\sTopic/ig, "");
return selectedVideo;
}