mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-02 16:52:04 +02:00
whoops, only parse title once
This commit is contained in:
@@ -40,11 +40,13 @@ namespace NzbDrone.Core.NetImport.IMDbWatchList
|
|||||||
|
|
||||||
foreach (var result in responseData)
|
foreach (var result in responseData)
|
||||||
{
|
{
|
||||||
|
var title = Parser.Parser.ParseMovieTitle(result.Title, false);
|
||||||
|
|
||||||
torrentInfos.Add(new Movie()
|
torrentInfos.Add(new Movie()
|
||||||
{
|
{
|
||||||
Title = Parser.Parser.ParseMovieTitle(result.Title, false).MovieTitle,
|
Title = title.MovieTitle,
|
||||||
Year = Parser.Parser.ParseMovieTitle(result.Title, false).Year,
|
Year = title.Year,
|
||||||
ImdbId = Parser.Parser.ParseImdbId(result.Link).ToString()
|
ImdbId = Parser.Parser.ParseImdbId(result.Link)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -122,6 +122,7 @@
|
|||||||
<Compile Include="Authentication\User.cs" />
|
<Compile Include="Authentication\User.cs" />
|
||||||
<Compile Include="Authentication\UserRepository.cs" />
|
<Compile Include="Authentication\UserRepository.cs" />
|
||||||
<Compile Include="Authentication\UserService.cs" />
|
<Compile Include="Authentication\UserService.cs" />
|
||||||
|
<Compile Include="Datastore\Migration\119_create_netimport_table.cs" />
|
||||||
<Compile Include="NetImport\Exceptions\NetImportException.cs" />
|
<Compile Include="NetImport\Exceptions\NetImportException.cs" />
|
||||||
<Compile Include="NetImport\HttpNetImportBase.cs" />
|
<Compile Include="NetImport\HttpNetImportBase.cs" />
|
||||||
<Compile Include="NetImport\IProcessNetImportResponse.cs" />
|
<Compile Include="NetImport\IProcessNetImportResponse.cs" />
|
||||||
|
Reference in New Issue
Block a user