1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-13 07:33:12 +00:00

nebulance: update poster selector (#10693)

This commit is contained in:
ilike2burnthing 2021-01-01 10:13:15 +00:00 committed by GitHub
parent 70204971a2
commit 80b0b934ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -127,7 +127,7 @@ namespace Jackett.Common.Indexers
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 details = new Uri(SiteLink + row.QuerySelector("a[data-src]").GetAttribute("href"));