more specific td selection for shareisland (#4034)

* more specific td selection for shareisland
This commit is contained in:
Jorman
2018-10-22 02:22:42 +02:00
committed by garfield69
parent c31b9d84f0
commit de8adf382b

View File

@@ -100,7 +100,7 @@
selector: a[href^="download.php?id="] selector: a[href^="download.php?id="]
attribute: href attribute: href
title: # shortened title? title: # shortened title?
selector: a[href^="index.php?page=torrent-details"] selector: td:nth-child(2)
filters: filters:
- name: re_replace # replace special characters with " " (space) - name: re_replace # replace special characters with " " (space)
args: ["[^a-zA-Z0-9\\s]|\\.", " "] args: ["[^a-zA-Z0-9\\s]|\\.", " "]
@@ -125,7 +125,7 @@
args: ["(?i)(Serie completa|Completat?a?|in pausa)", ""] args: ["(?i)(Serie completa|Completat?a?|in pausa)", ""]
title: # long titles? title: # long titles?
optional: true optional: true
selector: a[title][href^="index.php?page=torrent-details"] selector: td:nth-child(2)
attribute: title attribute: title
filters: filters:
- name: re_replace # replace special characters with " " (space) - name: re_replace # replace special characters with " " (space)
@@ -150,7 +150,7 @@
- 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: category:
selector: a[href^="index.php?page=torrents&category="] selector: td:nth-child(1) a[href^="index.php?page=torrents&category="]
attribute: href attribute: href
filters: filters:
- name: querystring - name: querystring
@@ -166,21 +166,21 @@
- name: regexp - name: regexp
args: "src=(.+?) " args: "src=(.+?) "
size: size:
selector: td:nth-child(10) selector: td:nth-last-child(3)
date: date:
selector: td:nth-child(5) selector: td:nth-last-child(7)
filters: filters:
- name: dateparse - name: dateparse
args: "02/01/2006" args: "02/01/2006"
grabs: grabs:
selector: td:nth-child(8) selector: td:nth-last-child(4)
filters: filters:
- name: replace - name: replace
args: ["---", "0"] args: ["---", "0"]
seeders: seeders:
selector: td:nth-child(6) selector: td:nth-last-child(6)
leechers: leechers:
selector: td:nth-child(7) selector: td:nth-last-child(5)
downloadvolumefactor: downloadvolumefactor:
case: case:
img[alt="Free Leech"]: "0" img[alt="Free Leech"]: "0"