mirror of
https://github.com/Jackett/Jackett
synced 2025-03-13 15:39:28 +00:00
nebulance: update poster selector (#10693)
This commit is contained in:
parent
70204971a2
commit
80b0b934ae
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ namespace Jackett.Common.Indexers
|
||||||
title = title.Remove(title.LastIndexOf(".", StringComparison.Ordinal));
|
title = title.Remove(title.LastIndexOf(".", StringComparison.Ordinal));
|
||||||
}
|
}
|
||||||
|
|
||||||
var posterStr = row.QuerySelector("img")?.GetAttribute("src");
|
var posterStr = row.QuerySelector("img:nth-child(2)")?.GetAttribute("src");
|
||||||
var poster = !string.IsNullOrWhiteSpace(posterStr) ? new Uri(posterStr) : null;
|
var poster = !string.IsNullOrWhiteSpace(posterStr) ? new Uri(posterStr) : null;
|
||||||
|
|
||||||
var details = new Uri(SiteLink + row.QuerySelector("a[data-src]").GetAttribute("href"));
|
var details = new Uri(SiteLink + row.QuerySelector("a[data-src]").GetAttribute("href"));
|
||||||
|
|
Loading…
Add table
Reference in a new issue