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

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