cathoderaytube: add andmatch, fix description. Add genre validate filter to remove non-genre tags

This commit is contained in:
Garfield69 2022-07-31 20:24:00 +12:00
parent a8b1001e91
commit 6e11e5a75e
1 changed files with 6 additions and 1 deletions

View File

@ -85,6 +85,8 @@ search:
rows: rows:
selector: table#torrent_table > tbody > tr[class^="torrent row"]:has(a[href*="action=download"]) selector: table#torrent_table > tbody > tr[class^="torrent row"]:has(a[href*="action=download"])
filters:
- name: andmatch
fields: fields:
category: category:
@ -104,8 +106,11 @@ search:
genre: genre:
selector: div.tags selector: div.tags
optional: true optional: true
filters:
- name: validate
args: "Action, Adventure, Animation, Comedy, Crime, Documentary, Drama, Family, Fantasy, History, Horror, Kids, Music, Mystery, News, Reality, Romance, SciFi, Soap, Talk, Thriller, War, Western"
description: description:
selector: "{{ .Result.genre }}" text: "{{ .Result.genre }}"
poster: poster:
selector: td:nth-child(2) > script selector: td:nth-child(2) > script
filters: filters: