diff --git a/index.js b/index.js index 65d6f5f..87d55df 100644 --- a/index.js +++ b/index.js @@ -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; }