BJShare: Only set quality if available (#4860)

This commit is contained in:
leomoty 2019-03-12 14:11:58 -03:00 committed by garfield69
parent 9f913d73f4
commit 609a222d98
1 changed files with 14 additions and 11 deletions

View File

@ -198,6 +198,8 @@ namespace Jackett.Common.Indexers
var catStr = qCatLink.GetAttribute("href").Split('=')[1];
release.Title = FixAbsoluteNumbering(release.Title);
if (qQuality != null)
{
var quality = qQuality.TextContent;
switch (quality)
{
@ -211,6 +213,7 @@ namespace Jackett.Common.Indexers
release.Title += " 480p";
break;
}
}
release.Category = MapTrackerCatToNewznab(catStr);
release.Link = new Uri(SiteLink + qDlLink.GetAttribute("href"));