thetorrents: amend login

This commit is contained in:
Garfield69
2019-12-19 20:18:02 +13:00
parent 77e35be0a9
commit 7f69f87039

View File

@@ -66,9 +66,8 @@
tv-search: [q, season, ep] tv-search: [q, season, ep]
login: login:
path: login.php path: takelogin.php
method: form method: post
form: form[action="takelogin.php"]
inputs: inputs:
username: "{{ .Config.username }}" username: "{{ .Config.username }}"
password: "{{ .Config.password }}" password: "{{ .Config.password }}"
@@ -81,9 +80,10 @@
paths: paths:
- path: browse.php - path: browse.php
inputs: inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}" $raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Query.Keywords }}" search: "{{ .Keywords }}"
incldead: "1" incldead: 1
rows: rows:
selector: table > tbody > tr:has(a[href^="details.php?id="]) selector: table > tbody > tr:has(a[href^="details.php?id="])
dateheaders: dateheaders:
@@ -92,6 +92,7 @@
filters: filters:
- name: dateparse - name: dateparse
args: "Monday 2-January-2006" args: "Monday 2-January-2006"
fields: fields:
title: title:
selector: a[href^="details.php?id="] selector: a[href^="details.php?id="]
@@ -142,9 +143,9 @@
selector: td:nth-child(9) selector: td:nth-child(9)
downloadvolumefactor: downloadvolumefactor:
case: case:
img[title="FreeLeech"]: "0" img[title="FreeLeech"]: 0
"*": "1" "*": 1
uploadvolumefactor: uploadvolumefactor:
case: case:
img[title="DoubleUpload"]: "2" img[title="DoubleUpload"]: 2
"*": "1" "*": 1