mirror of
https://github.com/Jackett/Jackett
synced 2025-02-24 23:22:46 +00:00
Resolved null pointer causing searches to fail on RevolutionTT (#1494)
This commit is contained in:
parent
3bef19cbfe
commit
0473029277
1 changed files with 15 additions and 14 deletions
|
@ -333,8 +333,9 @@ namespace Jackett.Indexers
|
|||
release.Title = qLink.Find("b").Text();
|
||||
release.Description = release.Title;
|
||||
|
||||
release.Link = new Uri(SiteLink + qRow.Find("td:nth-child(4) > a").Attr("href"));
|
||||
|
||||
var releaseLinkURI = qRow.Find("td:nth-child(4) > a").Attr("href");
|
||||
release.Link = new Uri(SiteLink + releaseLinkURI);
|
||||
if (releaseLinkURI != null){
|
||||
var dateString = qRow.Find("td:nth-child(6) nobr")[0].TextContent.Trim();
|
||||
//"2015-04-25 23:38:12"
|
||||
//"yyyy-MMM-dd hh:mm:ss"
|
||||
|
@ -349,7 +350,7 @@ namespace Jackett.Indexers
|
|||
|
||||
var category = qRow.Find(".br_type > a").Attr("href").Replace("browse.php?cat=", string.Empty);
|
||||
release.Category = MapTrackerCatToNewznab(category);
|
||||
|
||||
}
|
||||
releases.Add(release);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue