mirror of
https://github.com/Jackett/Jackett
synced 2025-02-25 07:32:38 +00:00
TehConnection: Generate title for releases without scene title
This commit is contained in:
parent
e56ff204f8
commit
9930430026
1 changed files with 5 additions and 0 deletions
|
@ -167,6 +167,11 @@ namespace Jackett.Indexers
|
||||||
if (secondSizeStr.Length > 3 && secondSizeStr.Contains("(") && secondSizeStr.Contains(")"))
|
if (secondSizeStr.Length > 3 && secondSizeStr.Contains("(") && secondSizeStr.Contains(")"))
|
||||||
{ sizeStr = secondSizeStr.Replace("(", "").Replace(")", "").Trim(); }
|
{ 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();
|
var release = new ReleaseInfo();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue