Skip to content
Permalink
Browse files

chdbits: fix login defaults. resolves 8710

  • Loading branch information
garfield69 committed May 21, 2020
1 parent 8773df2 commit 8ecddbdd14b2fe26b9a5868820490502ef7c6066
Showing with 27 additions and 20 deletions.
  1. +27 −19 src/Jackett.Common/Definitions/chdbits.yml
  2. +0 −1 src/Jackett.Common/Definitions/haidan.yml
@@ -32,7 +32,12 @@ login:
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
logout: ""
securelogin: ""
ssl: yes
trackerssl: yes
error:
- selector: td.embedded:has(h2:contains("失败"))
- selector: td.embedded:has(h2:contains("failed"))
test:
path: torrents.php
@@ -48,24 +53,26 @@ search:
paths:
- path: torrents.php
inputs:
$raw: "{{range .Categories}}cat{{.}}=1&{{end}}"
search: "{{ .Query.Keywords }}"
incldead: "1"
$raw: "{{ range .Categories }}cat{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
incldead: 1

rows:
selector: table.torrents > tbody > tr:has(table.torrentname)

fields:
title:
selector: a[href^="details.php?id="]
title:
optional: true
selector: a[title][href^="details.php?id="]
attribute: title
category:
selector: a[href^="?cat="]
attribute: href
filters:
- name: querystring
args: cat
title:
selector: a[href^="details.php?id="]
title:
optional: true
selector: a[title][href^="details.php?id="]
attribute: title
details:
selector: a[href^="details.php?id="]
attribute: href
@@ -90,18 +97,19 @@ search:
args: "2006-01-02 15:04:05 -07:00"
downloadvolumefactor:
case:
img.pro_free: "0"
img.pro_free2up: "0"
img.pro_50pctdown: "0.5"
img.pro_50pctdown2up: "0.5"
img.pro_30pctdown: "0.3"
"*": "1"
img.pro_free: 0
img.pro_free2up: 0
img.pro_50pctdown: 0.5
img.pro_50pctdown2up: 0.5
img.pro_30pctdown: 0.3
"*": 1
uploadvolumefactor:
case:
img.pro_50pctdown2up: "2"
img.pro_free2up: "2"
img.pro_2up: "2"
"*": "1"
img.pro_50pctdown2up: 2
img.pro_free2up: 2
img.pro_2up: 2
"*": 1
description:
selector: td:nth-child(2)
remove: a, img
# NexusPHP Standard v1.5 Beta 4
@@ -81,7 +81,6 @@ login:
trackerssl: yes
error:
- selector: td.embedded:has(h2:contains("失败"))
- selector: td.embedded:has(h2:contains("登录失败"))
test:
path: index.php
selector: a[href*="logout.php"]

1 comment on commit 8ecddbd

@garfield69

This comment has been minimized.

Copy link
Collaborator Author

@garfield69 garfield69 commented on 8ecddbd May 21, 2020

Please sign in to comment.
You can’t perform that action at this time.