From 32fbdd79613fc0245e9110f99e02a914ada1a8aa Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Thu, 24 Nov 2022 18:07:25 +1300 Subject: [PATCH] oldtoonsworld: add poster and genre results --- src/Jackett.Common/Definitions/oldtoonsworld.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/Jackett.Common/Definitions/oldtoonsworld.yml b/src/Jackett.Common/Definitions/oldtoonsworld.yml index 68b27f54a..fc4d0ef95 100644 --- a/src/Jackett.Common/Definitions/oldtoonsworld.yml +++ b/src/Jackett.Common/Definitions/oldtoonsworld.yml @@ -131,6 +131,9 @@ search: download: selector: a[href^="download.php?id="] attribute: href + poster: + selector: img.nexus-lazy-load + 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"] @@ -183,7 +186,9 @@ search: minimumseedtime: # 2 day (as seconds = 2 x 24 x 60 x 60) text: 172800 - description: + genre: selector: td.rowfollow:nth-child(2) - remove: a, img + remove: a, img, span + description: + text: "{{ .Result.genre }}" # NexusPHP 1.7.29 2022-10-13