1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-15 08:28:59 +00:00

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();
long imdbid;
long? size;
release.Title = qRow.Find("td.mainblockcontent b a").Text();
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))
release.Imdb = imdbid;
if (0 != qRow.Find("td.mainblockcontent u").Length)
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.MinimumSeedTime = 172800;

View file

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