torrentfunk: new search

This commit is contained in:
Garfield69
2025-03-24 05:41:28 +13:00
parent 9886973bc2
commit 7bc231d237

View File

@@ -57,19 +57,20 @@ settings:
search: search:
paths: paths:
# https://www.torrentfunk.com/all/torrents/2025.html?smi=0&sma=0&i=100&sort=added&o=desc& # https://www.torrentfunk.com/?qq=1&q=&c=&i=50&sort=added&o=desc&smi=&sma=&submit=SEARCH
- path: "all/torrents/{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}.html" - path: /
keywordsfilters: allowEmptyInputs: true
- name: re_replace
args: ["[\\s]+", "-"]
- name: tolower
inputs: inputs:
smi: 0 qq: 1
sma: 0 q: "{{ .Keywords }}"
c: ""
# 50, 100, 150, 200, 250 # 50, 100, 150, 200, 250
i: 100 i: 100
sort: "{{ .Config.sort }}" sort: "{{ .Config.sort }}"
type: "{{ .Config.type }}" type: "{{ .Config.type }}"
smi: ""
sma: ""
submit: SEARCH
rows: rows:
selector: table.tmain tbody tr:has(a[href^="/torrent/"]) selector: table.tmain tbody tr:has(a[href^="/torrent/"])