theshinning: add genre result

This commit is contained in:
Garfield69 2022-08-05 15:35:42 +12:00
parent 208f696256
commit bcc594a149
1 changed files with 7 additions and 0 deletions

View File

@ -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