Strip " - Topic" from YouTube artist channel names
This commit is contained in:
parent
1fd4e96a3c
commit
7955fc4459
1 changed files with 2 additions and 0 deletions
2
index.js
2
index.js
|
@ -77,6 +77,8 @@ async function getVideo() {
|
|||
channelName: youtubeMusicVideo.artists[0].name
|
||||
}
|
||||
|
||||
selectedVideo.channelName = selectedVideo.channelName.replace(/\s-\sTopic/ig, "");
|
||||
|
||||
return selectedVideo;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue