xtremezone: new layout. resolves #5966 (#5993)

This commit is contained in:
Valentin Olaru 2019-09-15 21:26:12 +03:00 committed by garfield69
parent 383baed220
commit 1f1b5e1755
1 changed files with 28 additions and 26 deletions

View File

@ -30,6 +30,7 @@
- {id: 2, cat: Movies/DVD, desc: "Movies-DVD-RO"} - {id: 2, cat: Movies/DVD, desc: "Movies-DVD-RO"}
- {id: 8, cat: Movies/HD, desc: "Movies-HD"} - {id: 8, cat: Movies/HD, desc: "Movies-HD"}
- {id: 29, cat: Movies/HD, desc: "Movies-HD-RO"} - {id: 29, cat: Movies/HD, desc: "Movies-HD-RO"}
- {id: 57, cat: Movies/UHD, desc: "Movies-UHD-RO"}
- {id: 38, cat: Movies, desc: "Movies-Packs"} - {id: 38, cat: Movies, desc: "Movies-Packs"}
- {id: 10, cat: Movies/SD, desc: "Movies-SD"} - {id: 10, cat: Movies/SD, desc: "Movies-SD"}
- {id: 35, cat: Movies/SD, desc: "Movies-SD-RO"} - {id: 35, cat: Movies/SD, desc: "Movies-SD-RO"}
@ -46,7 +47,7 @@
- {id: 49, cat: XXX/Imageset, desc: "XXX-IMGSet"} - {id: 49, cat: XXX/Imageset, desc: "XXX-IMGSet"}
- {id: 50, cat: XXX, desc: "XXX-Packs"} - {id: 50, cat: XXX, desc: "XXX-Packs"}
- {id: 51, cat: XXX, desc: "XXX-SD"} - {id: 51, cat: XXX, desc: "XXX-SD"}
- {id: 60, cat: TV/HD, desc: "TV-RO"} - {id: 60, cat: TV/FOREIGN, desc: "TV-RO"}
modes: modes:
search: [q] search: [q]
@ -63,54 +64,58 @@
error: error:
- selector: td.embedded:has(center > h2:contains(failed)) - selector: td.embedded:has(center > h2:contains(failed))
test: test:
path: browse.php path: browse
ratio: ratio:
path: browse.php path: browse
selector: font:contains("Ratio:")+font selector: font:contains("Ratio:")+font
search: search:
paths: paths:
- path: browse.php - path: browse
inputs: inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}" $raw: "{{range .Categories}}&categories[]={{.}}{{end}}"
search: "{{ .Query.Keywords }}" search: "{{ .Query.Keywords }}"
incldead: 1
rows: rows:
selector: table.browser > tbody > tr.browse[style] selector: div[class="kt-container kt-grid__item"] > div:not(#top10-wrapper) div[class^="row mr-0"]
fields: fields:
title: title:
selector: a[href^="details.php?id="] selector: a[href^="/browse/"]
details: details:
selector: a[href^="details.php?id="] selector: a[href^="/browse/"]
attribute: href attribute: href
category: category:
selector: a[href^="browse.php?cat="] selector: a[href] > img
attribute: href attribute: class
filters: filters:
- name: querystring - name: regexp
args: cat args: ([\d\.]+)
download: download:
selector: a[href^="dwn.php"] selector: a[href^="/dwn.php"]
attribute: href attribute: href
size: size:
selector: td:nth-child(7) selector: div[data-toggle="kt-tooltip"] + div + div
date: date:
selector: td:nth-child(6) selector: div[data-toggle="kt-tooltip"]
attribute: title
filters: filters:
- name: append
args: " +00:00"
- name: dateparse - name: dateparse
args: "02-01-200615:04:05 -07:00" args: "Jan 02, 2006, 03:04:05 PM"
grabs: grabs:
selector: td:nth-child(8) selector: div[data-toggle="kt-tooltip"] + div
filters: filters:
- name: regexp - name: regexp
args: ([\d\.]+) args: ([\d\.]+)
seeders: seeders:
selector: td:nth-child(9) selector: div[data-toggle="kt-tooltip"] + div + div + div > div div:nth-child(1)
filters:
- name: regexp
args: ([\d\.]+)
leechers: leechers:
selector: td:nth-child(10) selector: div[data-toggle="kt-tooltip"] + div + div + div > div div:nth-child(2)
filters:
- name: regexp
args: ([\d\.]+)
banner: banner:
selector: a[onmouseover][href^="details.php?id="] selector: a[onmouseover][href^="details.php?id="]
attribute: onmouseover attribute: onmouseover
@ -126,6 +131,3 @@
case: case:
"img[title^=\"2xUP: \"]": "2" "img[title^=\"2xUP: \"]": "2"
"*": "1" "*": "1"
description:
selector: td:nth-child(2)
remove: a, img