mirror of
https://github.com/Jackett/Jackett
synced 2025-01-01 12:46:23 +00:00
parent
dae3248719
commit
5fe45780bb
1 changed files with 2 additions and 2 deletions
|
@ -127,8 +127,8 @@ namespace Jackett.Common.Indexers
|
|||
title = title.Remove(title.LastIndexOf(".", StringComparison.Ordinal));
|
||||
}
|
||||
|
||||
var posterStr = row.QuerySelector("img:nth-child(2)")?.GetAttribute("src");
|
||||
var poster = !string.IsNullOrWhiteSpace(posterStr) ? new Uri(posterStr) : null;
|
||||
var posterStr = row.QuerySelector("img")?.GetAttribute("src");
|
||||
Uri.TryCreate(posterStr, UriKind.Absolute, out var poster);
|
||||
|
||||
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"));
|
||||
|
|
Loading…
Reference in a new issue