mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
MoreThanTV: improve missing quality tag error
This commit is contained in:
@@ -158,9 +158,9 @@ namespace Jackett.Common.Indexers
|
|||||||
// Parse required data
|
// Parse required data
|
||||||
var downloadAnchor = groupItem.QuerySelectorAll("td a").Last();
|
var downloadAnchor = groupItem.QuerySelectorAll("td a").Last();
|
||||||
var qualityData = downloadAnchor.InnerHtml.Split('/');
|
var qualityData = downloadAnchor.InnerHtml.Split('/');
|
||||||
|
|
||||||
if (qualityData.Length < 2)
|
if (qualityData.Length < 2)
|
||||||
throw new Exception($"We expected 2 or more quality datas, instead we have {qualityData.Length}.");
|
throw new Exception($"We expected 2 or more quality datas, instead we have {qualityData.Length} for {season}.");
|
||||||
|
|
||||||
// Build title
|
// Build title
|
||||||
var title = string.Join(".", new List<string>
|
var title = string.Join(".", new List<string>
|
||||||
|
Reference in New Issue
Block a user