Skip to content

Commit

Permalink
fix: ytdataapiv3 searches will no longer duplicate youtube urls
Browse files Browse the repository at this point in the history
  • Loading branch information
Wizkiller96 committed Oct 31, 2024
1 parent 8648e4a commit 1e41489
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ public YoutubeDataApiSearchService(IGoogleApiService gapi)
if(results.Count == 0)
return null;

return results.Map(r => new VideoInfo(r));
return results.Map(r => new VideoInfo()
{
Url = r
});
}
}

0 comments on commit 1e41489

Please sign in to comment.