Forgotten parse

This commit is contained in:
ThomasAmpen
2015-07-12 19:58:46 +02:00
parent 72a7935dc3
commit e1ac1041a4
2 changed files with 3 additions and 3 deletions

View File

@@ -158,14 +158,13 @@ namespace Jackett.Indexers
} }
release = new ReleaseInfo(); release = new ReleaseInfo();
long imdbid;
long? size; long? size;
release.Title = qRow.Find("td.mainblockcontent b a").Text(); release.Title = qRow.Find("td.mainblockcontent b a").Text();
release.Description = release.Title; release.Description = release.Title;
if (0 != qRow.Find("td.mainblockcontent u").Length && long.TryParse(qRow.Find("td.mainblockcontent u").Parent().First().Attr("href").Replace("http://www.imdb.com/title/tt", "").Replace("/", ""), out imdbid)) if (0 != qRow.Find("td.mainblockcontent u").Length)
release.Imdb = imdbid; release.Imdb = ParseUtil.TryCoerceLong(qRow.Find("td.mainblockcontent u").Parent().First().Attr("href").Replace("http://www.imdb.com/title/tt", "").Replace("/", ""));
release.MinimumRatio = 1; release.MinimumRatio = 1;
release.MinimumSeedTime = 172800; release.MinimumSeedTime = 172800;

View File

@@ -82,6 +82,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="ApiKey.cs" /> <Compile Include="ApiKey.cs" />
<Compile Include="BrowserUtil.cs" />
<Compile Include="CachedResult.cs" /> <Compile Include="CachedResult.cs" />
<Compile Include="ChannelInfo.cs" /> <Compile Include="ChannelInfo.cs" />
<Compile Include="ConfigurationData.cs" /> <Compile Include="ConfigurationData.cs" />