Fixed: (MoreThanTv) Parsing issue when download url is null

Fixes #1047
pull/823/merge
Qstick 2 years ago
parent ae2d9b795b
commit 33de7ca7ab

@ -190,6 +190,12 @@ public class MoreThanTVParser : IParseIndexerResponse
{
// Parse required data
var downloadAnchor = torrent.QuerySelector("span a[href^=\"/torrents.php?action=download\"]");
if (downloadAnchor == null)
{
continue;
}
var title = downloadAnchor.ParentElement.ParentElement.ParentElement.QuerySelector("a[class=\"overlay_torrent\"]").TextContent.Trim();
title = CleanUpTitle(title);

Loading…
Cancel
Save