mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
@@ -127,8 +127,8 @@ namespace Jackett.Common.Indexers
|
|||||||
title = title.Remove(title.LastIndexOf(".", StringComparison.Ordinal));
|
title = title.Remove(title.LastIndexOf(".", StringComparison.Ordinal));
|
||||||
}
|
}
|
||||||
|
|
||||||
var posterStr = row.QuerySelector("img:nth-child(2)")?.GetAttribute("src");
|
var posterStr = row.QuerySelector("img")?.GetAttribute("src");
|
||||||
var poster = !string.IsNullOrWhiteSpace(posterStr) ? new Uri(posterStr) : null;
|
Uri.TryCreate(posterStr, UriKind.Absolute, out var poster);
|
||||||
|
|
||||||
var details = new Uri(SiteLink + row.QuerySelector("a[data-src]").GetAttribute("href"));
|
var details = new Uri(SiteLink + row.QuerySelector("a[data-src]").GetAttribute("href"));
|
||||||
var link = new Uri(SiteLink + row.QuerySelector("a[href*='action=download']").GetAttribute("href"));
|
var link = new Uri(SiteLink + row.QuerySelector("a[href*='action=download']").GetAttribute("href"));
|
||||||
|
Reference in New Issue
Block a user