TehConnection: Generate title for releases without scene title

This commit is contained in:
kaso17
2016-12-03 19:03:02 +01:00
committed by kaso17
parent e56ff204f8
commit 9930430026

View File

@@ -167,6 +167,11 @@ namespace Jackett.Indexers
if (secondSizeStr.Length > 3 && secondSizeStr.Contains("(") && secondSizeStr.Contains(")"))
{ sizeStr = secondSizeStr.Replace("(", "").Replace(")", "").Trim(); }
}
if(string.IsNullOrWhiteSpace(title))
{
title = dom.Find("div.title_text").Text() + " - " + qRow.Find("div.details_title > a").Text();
}
var release = new ReleaseInfo();