diff --git a/packages/core/src/rest/heuristics.ts b/packages/core/src/rest/heuristics.ts index 570297c599..1632f89180 100644 --- a/packages/core/src/rest/heuristics.ts +++ b/packages/core/src/rest/heuristics.ts @@ -67,6 +67,7 @@ export class YoutubeHeuristics implements SearchHeuristics> { } const channelNameScore = track.author.name.toLowerCase().includes(artist.toLowerCase()) ? 200 : 0; + const verifiedChannelScore = track.author.verified ? 200 : 0; return mean([ titleScore, @@ -75,7 +76,8 @@ export class YoutubeHeuristics implements SearchHeuristics> { promotedWordsScore, penalizedWordsScore, liveVideoScore, - channelNameScore + channelNameScore, + verifiedChannelScore ]); };