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