From cd0ca16d9b91fdc12c098d17ad89c69372c662c7 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sat, 4 Feb 2023 10:43:30 +1300 Subject: [PATCH] ptchina: add posters --- src/Jackett.Common/Definitions/ptchina.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Jackett.Common/Definitions/ptchina.yml b/src/Jackett.Common/Definitions/ptchina.yml index 06489ac60..84c64f0a3 100644 --- a/src/Jackett.Common/Definitions/ptchina.yml +++ b/src/Jackett.Common/Definitions/ptchina.yml @@ -123,6 +123,10 @@ search: download: selector: a[href^="download.php?id="] attribute: href + # site does not have posters enabled. just in case a future update. + poster: + selector: img[data-src] + attribute: data-src imdbid: # site currently only has a badge and rating, the id is not present. just in case a future update. selector: a[href*="imdb.com/title/tt"]