torrentfunk: colvert to lowercase before search. resolves #6502

This commit is contained in:
Garfield69 2019-12-07 05:28:41 +13:00
parent 32a7cc5cac
commit a5e4299673
1 changed files with 5 additions and 2 deletions

View File

@ -32,8 +32,11 @@
search: search:
paths: paths:
# https://www.torrentfunk.com/all/torrents/morty-402-castellano.html # https://www.torrentfunk.com/all/torrents/morty-402-castellano.html
- path: "all/torrents/{{ re_replace .Keywords \"[\\s]+\" \"-\" }}.html" - path: "all/torrents/{{ .Keywords }}.html"
keywordsfilters:
- name: re_replace
args: ["[\\s]+", "-"]
- name: tolower
rows: rows:
selector: table.tmain tbody tr:has(a[href^="/torrent/"]) selector: table.tmain tbody tr:has(a[href^="/torrent/"])
fields: fields: