mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
BJShare: Only set quality if available (#4860)
This commit is contained in:
@@ -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"));
|
||||
|
Reference in New Issue
Block a user