turknova: add filter freeleech to config #9104

This commit is contained in:
Garfield69
2024-09-16 06:01:14 +12:00
parent 9faf68347c
commit c6e9809d3c

View File

@@ -50,6 +50,10 @@ settings:
- name: password - name: password
type: password type: password
label: Password label: Password
- name: freeleech
type: checkbox
label: Filter freeleech only
default: false
- name: info_layout - name: info_layout
type: info type: info
label: Layout label: Layout
@@ -116,7 +120,7 @@ search:
# does not support imdbid search and does not return imdb link in results. # does not support imdbid search and does not return imdb link in results.
rows: rows:
selector: table#torrents_table_classic > tbody > tr:has(td.torrent_name) selector: "table#torrents_table_classic > tbody > tr:has(td.torrent_name){{ if .Config.freeleech }}:has(img[title=\"FREE!\"]){{ else }}{{ end }}"
fields: fields:
category: category: