From bcc594a149ee060410da8fbb1d88def0506d1bc3 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Fri, 5 Aug 2022 15:35:42 +1200 Subject: [PATCH] theshinning: add genre result --- src/Jackett.Common/Definitions/theshinning.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Jackett.Common/Definitions/theshinning.yml b/src/Jackett.Common/Definitions/theshinning.yml index 26d4fa37e..b625b1a08 100644 --- a/src/Jackett.Common/Definitions/theshinning.yml +++ b/src/Jackett.Common/Definitions/theshinning.yml @@ -124,6 +124,13 @@ search: args: "&w=180&h=270" # for display on dashboard - name: replace args: ["https://images.weserv.nl/?url=https://theshinning.me/img/nocover.png&w=180&h=270", ""] + genre: + selector: td:nth-last-child(11) + filters: + - name: validate + args: "Action, Adventure, Animation, Biography, Comedy, Crime, Documentary, Drama, Family, Fantasy, Game-Show, History, Horror, Music, Musical, Mystery, News, Reality-TV, Romance, Science Fiction, Sitcom, Sport, Talk-Show, Thriller, War, Western" + description: + text: "{{ .Result.genre }}" imdbid: selector: a[href*="imdb.com/title/tt"] attribute: href