mirror of
https://github.com/Jackett/Jackett
synced 2025-02-23 14:51:01 +00:00
SceneTime: make category optional
This commit is contained in:
parent
222fec2fd0
commit
1cd0358531
1 changed files with 5 additions and 2 deletions
|
@ -198,8 +198,11 @@ namespace Jackett.Indexers
|
|||
|
||||
var categoryCol = row.ChildElements.ElementAt(categoryIndex);
|
||||
string catLink = categoryCol.Cq().Find("a").Attr("href");
|
||||
if(catLink != null)
|
||||
{
|
||||
string catId = new Regex(@"\?cat=(\d*)").Match(catLink).Groups[1].ToString().Trim();
|
||||
release.Category = MapTrackerCatToNewznab(catId);
|
||||
}
|
||||
|
||||
var descCol = row.ChildElements.ElementAt(nameIndex);
|
||||
var qDescCol = descCol.Cq();
|
||||
|
|
Loading…
Reference in a new issue