torrent9clone: season pack support. #9712

This commit is contained in:
Garfield69 2020-10-21 16:59:06 +13:00
parent 2c9c403b83
commit e8dcaa2c4e
1 changed files with 7 additions and 1 deletions

View File

@ -89,7 +89,13 @@ download:
search:
paths:
- path: "{{ if .Keywords }}/recherche/{{ .Keywords }}{{else}}/top{{end}}"
- path: "{{ if .Keywords }}/recherche/{{ .Keywords }}{{ else }}/top{{ end }}"
keywordsfilters:
# if searching for season packs swith S01 to saison 1 #9712
- name: re_replace
args: ["(?i)(S0)(\\d{1,2})$", "saison $2"]
- name: re_replace
args: ["(?i)(S)(\\d{1,3})$", "saison $2"]
rows:
selector: table.table-striped > tbody > tr