shareisland: new results layout. resolves #5575

This commit is contained in:
Garfield69 2019-07-01 08:32:16 +12:00
parent 3f8d4d968d
commit 79d5989d0a
1 changed files with 21 additions and 32 deletions

View File

@ -123,10 +123,12 @@
filters: filters:
- name: andmatch - name: andmatch
fields: fields:
download: category:
# selector: a[href^="index.php?page=downloadcheck&id="] selector: a[href^="index.php?page=torrents&category="]
selector: a[href^="download.php?id="]
attribute: href attribute: href
filters:
- name: querystring
args: category
title: title:
selector: a[href^="index.php?page=torrent-details&id="] selector: a[href^="index.php?page=torrent-details&id="]
filters: filters:
@ -151,49 +153,36 @@
args: ["(?i)\\b(?:Puntate\\s*)(\\d+)\\s?(\\d+)", "E0$1-0$2"] args: ["(?i)\\b(?:Puntate\\s*)(\\d+)\\s?(\\d+)", "E0$1-0$2"]
- name: re_replace # rimozioni varie - name: re_replace # rimozioni varie
args: ["(?i)(Serie completa|Completat?a?|in pausa)", ""] args: ["(?i)(Serie completa|Completat?a?|in pausa)", ""]
category:
selector: a[href^="index.php?page=torrents&category="]
attribute: href
filters:
- name: querystring
args: category
details: details:
selector: a[href^="index.php?page=torrent-details&id="] selector: a[href^="index.php?page=torrent-details&id="]
attribute: href attribute: href
banner: banner:
optional: true optional: true
selector: a[href^="index.php?page=torrent-details&id="][onmouseover] selector: a[href^="index.php?page=torrent-details&id="]
attribute: onmouseover attribute: onmouseover
filters: filters:
- name: regexp - name: regexp
args: "src=(.+?) " args: "src=(.+?) "
download:
# selector: a[href^="index.php?page=downloadcheck&id="]
selector: a[href^="download.php?id="]
attribute: href
size: size:
selector: td:has(a[href^="index.php?page=torrent-details&id="]) p:nth-of-type(2) selector: td:nth-last-child(3)
grabs:
selector: td:nth-last-child(4)
filters: filters:
- name: replace - name: replace
args: [" \xA0 ", " "] args: ["---", "0"]
- name: regexp
args: " (.*?)$"
date:
selector: td:has(a[href^="index.php?page=torrent-details&id="]) p:nth-of-type(3)
filters:
- name: replace
args: ["\xA0 ", " "]
- name: regexp
args: " (.*?)$"
- name: dateparse
args: "15:04:05 02/01/2006"
seeders:
selector: td:has(a[href^="index.php?page=torrent-details&id="]) p:nth-of-type(4) a:nth-of-type(1)
filters:
leechers: leechers:
selector: td:has(a[href^="index.php?page=torrent-details&id="]) p:nth-of-type(4) a:nth-of-type(2) selector: td:nth-last-child(5)
seeders:
selector: td:nth-last-child(6)
date:
selector: td:nth-last-child(7)
filters: filters:
grabs: - name: dateparse
text: 0 args: "02/01/2006"
grabs:
optional: true
selector: td:has(a[href^="index.php?page=torrent-details&id="]) p:nth-of-type(4) a:nth-of-type(3)
downloadvolumefactor: downloadvolumefactor:
case: case:
img[alt="Free Leech"]: "0" img[alt="Free Leech"]: "0"