film-paleis: correct login error selector.

correct leechers selector
This commit is contained in:
Garfield69 2019-12-17 10:24:47 +13:00
parent 5661000c19
commit 879d03c055
2 changed files with 19 additions and 17 deletions

View File

@ -9,8 +9,10 @@
links:
- https://eztv.io/
legacylinks:
- https://eztv.ag/
- https://eztv.re/
- https://eztv.ag/ # redirects to .io
- https://eztv.re/ # redirects to .io
- https://eztv.it/ # redirects to .io
- https://eztv.ch/ # redirects to .io
caps:
categories:
@ -23,7 +25,7 @@
search:
paths:
- path: "{{if .Keywords}}search/{{ .Keywords}}{{else}}/{{end}}"
- path: "{{ if .Keywords }}search/{{ .Keywords }}{{else}}/{{end}}"
keywordsfilters:
- name: re_replace
args: ["S[0-9]{2}([^E]|$)", ""] # remove season tag without episode (search doesn't support it)
@ -62,6 +64,6 @@
seeders:
selector: td:nth-child(6)
downloadvolumefactor:
text: "0"
text: 0
uploadvolumefactor:
text: "1"
text: 0

View File

@ -47,17 +47,17 @@
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: table[border="0"][cellspacing="0"][cellpadding="10"] tr td font[color="yellow"]
- selector: table[border="0"][cellspacing="0"][cellpadding="10"] tr td font[color="orange"]
test:
path: /
selector: :has(a[href="logout.php"])
selector: a[href="logout.php"]
search:
paths:
- path: browse.php
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
search: "{{.Keywords}}"
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
incldead: 1
rows:
selector: table.mainouter
@ -90,12 +90,12 @@
selector: td:nth-child(4) table tr td:nth-child(2)
filters:
- name: regexp
args: "in (\\d{1,}) bestan"
args: "in (\\d+) bestan"
grabs:
selector: td:nth-child(4) table tr:nth-child(2) td:nth-child(1)
filters:
- name: regexp
args: "(\\d{1,})"
args: (\d+)
date:
selector: td:nth-child(4) table tr:nth-child(2) td:nth-child(2)
filters:
@ -128,16 +128,16 @@
- name: dateparse
args: "2 January 2006 15:04:05"
seeders:
text: "0"
text: 0
seeders:
optional: true
selector: td:nth-child(4) table tr:nth-child(3) td:nth-child(5) b:nth-child(1)
selector: td:nth-child(4) table tr:nth-child(3) td:nth-child(5) font b
leechers:
text: "0"
text: 0
leechers:
optional: true
selector: td:nth-child(4) table tr:nth-child(3) td:nth-child(5) b:nth-child(2)
selector: td:nth-child(4) table tr:nth-child(3) td:nth-child(5) font font b
downloadvolumefactor:
text: "0"
text: 0
uploadvolumefactor:
text: "1"
text: 1