1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-06 19:58:38 +00:00

gaytorrents: add login error detection

add date TZ
add engine tag
This commit is contained in:
Garfield69 2020-10-22 19:29:58 +13:00
parent fcbd612299
commit 468667f238

View file

@ -69,18 +69,20 @@ login:
inputs:
vb_login_username: "{{ .Config.username }}"
vb_login_password: "{{ .Config.password }}"
cookieuser: "1"
do: "login"
cookieuser: 1
do: login
error:
- selector: div.blockrow:contains("invalid")
test:
path: torrentslist.php
selector: ul.isuser
search:
paths:
- path: "{{if .Query.Keywords}}search.php{{else}}torrentslist.php{{end}}"
- path: "{{if .Query.Keywords}}search.php{{ else }}torrentslist.php{{ end }}"
inputs:
$raw: "{{range .Categories}}type={{.}}&{{end}}"
textsearch: "{{ .Query.Keywords }}"
textsearch: "{{ .Keywords }}"
rows:
selector: ul.TorrentList
fields:
@ -110,11 +112,14 @@ search:
date:
selector: li.TorrentList8
filters:
- name: append
args: " +02:00" # EET
- name: dateparse
args: "02 Jan 06, 15:04"
args: "02 Jan 06, 15:04 -07:00"
downloadvolumefactor:
case:
".TorrentList2 > a:contains(\"[FFL]\")": "0"
"*": "1"
"*": 1
uploadvolumefactor:
text: "1"
text: 1
# Morbid Suite vB4