fix: ytdataapiv3 searches will no longer duplicate youtube urls

This commit is contained in:
Kwoth
2024-10-30 07:02:13 +00:00
parent 8f16b11d02
commit f68f219a25

View File

@@ -18,6 +18,9 @@ public sealed class YoutubeDataApiSearchService : IYoutubeSearchService, INServi
if(results.Count == 0)
return null;
return results.Map(r => new VideoInfo(r));
return results.Map(r => new VideoInfo()
{
Url = r
});
}
}