Torrent9: fix category usage

This commit is contained in:
kaso17 2018-03-27 17:25:56 +02:00
parent cdc6210160
commit 9cfbdd3545
1 changed files with 19 additions and 19 deletions

View File

@ -31,29 +31,29 @@
- name: category - name: category
type: select type: select
label: Category Filter label: Category Filter
default: "/" default: "_"
options: options:
"/" : "All" "_" : "All"
"/films/": "Movies" "films": "Movies"
"/films-french/": "Movies/French" "films-french": "Movies/French"
"/films-vostfr/": "Movies/VOSTFR" "films-vostfr": "Movies/VOSTFR"
"/films-dvdrip-x264/": "Movies/DVDRIP .x264" "films-dvdrip-x264": "Movies/DVDRIP .x264"
"/720p/": "Movies/BluRay 720p" "720p": "Movies/BluRay 720p"
"/1080p/": "Movies/BluRay 1080p" "1080p": "Movies/BluRay 1080p"
"/series/": "TV/Series" "series": "TV/Series"
"/series-vostfr/": "TV/VOSTFR" "series-vostfr": "TV/VOSTFR"
"/series-francaise/": "TV/French" "series-francaise": "TV/French"
"/series-dvdrip/": "TV/DVDRIP" "series-dvdrip": "TV/DVDRIP"
"/spectacles/": "Shows" "spectacles": "Shows"
"/musique/": "Music" "musique": "Music"
"/ebook/": "Ebooks" "ebook": "Ebooks"
"/logiciels/": "Software" "logiciels": "Software"
"/jeux-pc/": "PC Games" "jeux-pc": "PC Games"
"/jeux-consoles/": "Console Games" "jeux-consoles": "Console Games"
search: search:
paths: paths:
- path: "{{ if .Keywords }}/search_torrent{{ .Config.category }}{{ .Keywords }}/page-0{{else}}/top_torrent.php{{end}}" - path: "{{ if .Keywords }}/search_torrent/{{ re_replace .Config.category \"_\" \"\" }}/{{ .Keywords }}/page-0{{else}}/top_torrent.php{{end}}"
rows: rows:
selector: div.table-responsive > table tbody tr selector: div.table-responsive > table tbody tr
fields: fields: