Diablo Torrent: fix definition

This commit is contained in:
kaso17
2017-08-18 10:56:11 +02:00
parent 852142e9ae
commit d44ebb7d43

View File

@@ -58,32 +58,25 @@
movie-search: [q] movie-search: [q]
login: login:
path: login.php path: login
submitpath: login.php submitpath: login/run
method: form method: form
inputs: inputs:
referer: "" referer: ""
nev: "{{ .Config.username }}" nev: "{{ .Config.username }}"
jelszo: "{{ .Config.password }}" jelszo: "{{ .Config.password }}"
fsv: "-1" fsv: "0"
ssl: "1" login: "1"
belepes: "1" belepes: "1"
getselectorinputs: rhash: "123"
c:
selector: "script:contains(\"login.php\")"
filters:
- name: regexp
args: "login.php\\?c=(.*?)&rhash="
rhash:
text: "123"
test: test:
path: browse.php path: browse
search: search:
path: browse.php path: browse
inputs: inputs:
$raw: "{{range .Categories}}category[]={{.}}&{{end}}" $raw: "{{range .Categories}}category[]={{.}}&{{end}}"
cim: "{{ .Keywords }}" search: "{{ .Keywords }}"
s_alapjan: "7" s_alapjan: "7"
s_sorrend: "desc" s_sorrend: "desc"
rows: rows:
@@ -93,10 +86,8 @@
download: download:
selector: div.box_download > a selector: div.box_download > a
attribute: href attribute: href
#title: # shortened
# selector: a.box_name_a
title: title:
selector: div.torrent_details_po + h2 selector: a.box_name_a > span
details: details:
selector: a.box_name_a selector: a.box_name_a
attribute: href attribute: href