mirror of https://github.com/Jackett/Jackett
cathoderaytube: add andmatch, fix description. Add genre validate filter to remove non-genre tags
This commit is contained in:
parent
a8b1001e91
commit
6e11e5a75e
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue