xtremezone: new category selector. #5966

This commit is contained in:
Garfield69 2019-09-22 08:16:14 +12:00
parent 84362df260
commit 6a25e73536
1 changed files with 7 additions and 5 deletions

View File

@ -52,6 +52,7 @@
modes: modes:
search: [q] search: [q]
tv-search: [q, season, ep] tv-search: [q, season, ep]
movie-search: [q]
login: login:
path: login path: login
@ -74,8 +75,8 @@
paths: paths:
- path: browse - path: browse
inputs: inputs:
$raw: "{{range .Categories}}&categories[]={{.}}{{end}}" $raw: "{{range .Categories}}categories[]={{.}}&{{end}}"
search: "{{ .Query.Keywords }}" search: "{{ .Keywords }}"
rows: rows:
selector: div[class="kt-container kt-grid__item"] > div:not(#top10-wrapper) div[class^="row mr-0"] selector: div[class="kt-container kt-grid__item"] > div:not(#top10-wrapper) div[class^="row mr-0"]
fields: fields:
@ -85,11 +86,11 @@
selector: a[href^="/browse/"] selector: a[href^="/browse/"]
attribute: href attribute: href
category: category:
selector: a[href] > img selector: a[href^="/browse?categories"]
attribute: class attribute: href
filters: filters:
- name: regexp - name: regexp
args: ([\d\.]+) args: (\d+)$
download: download:
selector: a[href^="/dwn.php"] selector: a[href^="/dwn.php"]
attribute: href attribute: href
@ -119,6 +120,7 @@
banner: banner:
selector: a[onmouseover][href^="details.php?id="] selector: a[onmouseover][href^="details.php?id="]
attribute: onmouseover attribute: onmouseover
optional: true
filters: filters:
- name: regexp - name: regexp
args: src=([^\s]+) args: src=([^\s]+)