ytdataapiv3 searches will no longer duplicate youtube urls
Uppded version to 5.1.17
This commit is contained in:
parent
c5b27421a3
commit
674e0ab970
2 changed files with 5 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>true</ImplicitUsings>
|
||||
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
|
||||
<Version>5.1.16</Version>
|
||||
<Version>5.1.17</Version>
|
||||
|
||||
<!-- Output/build -->
|
||||
<RunWorkingDirectory>$(MSBuildProjectDirectory)</RunWorkingDirectory>
|
||||
|
|
|
@ -18,6 +18,9 @@ public sealed class YoutubeDataApiSearchService : IYoutubeSearchService, IEServi
|
|||
if (results.Count == 0)
|
||||
return null;
|
||||
|
||||
return results.Map(r => new VideoInfo(r));
|
||||
return results.Map(r => new VideoInfo()
|
||||
{
|
||||
Url = r
|
||||
});
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue