ceskeforum: add genre results

This commit is contained in:
Garfield69 2022-07-31 21:30:50 +12:00
parent 8fbc5b9a08
commit 394743c4fe
1 changed files with 7 additions and 0 deletions

View File

@ -96,6 +96,7 @@ search:
search_mode: 0
sort: "{{ .Config.sort }}"
type: "{{ .Config.type }}"
# can support genre searching but you need to know the id, eg &team10=1 for Drama (id is 10)
rows:
selector: table.torrents > tbody > tr:has(table.torrentname)
@ -170,4 +171,10 @@ search:
description:
selector: td.rowfollow:nth-child(2)
remove: a, img
genre:
selector: table.torrentname > tbody > tr > td:first-child
remove: a
filters:
- name: validate
args: "Akční, Animovaný, Dobrodružný, Dokumentární, Drama, Fantasy, Horor, Komedie, Krimi, Pohádka, Rodinný, Romantický, Sci-Fi, Thriller, Válečný, Western"
# NexusPHP Standard v1.5 Beta 4