default:"Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the Hares Club Web Site. Otherwise just leave it empty."
- name:freeleech
type:checkbox
label:Search freeleech only
default:false
- name:sort
type:select
label:Sort requested from site
default:4
options:
4:created
7:seeders
5:size
1:title
- name:type
type:select
label:Order requested from site
default:desc
options:
desc:desc
asc:asc
- name:info_tpp
type:info
label:Results Per Page
default:For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile.
login:
path:login.php
method:form
form:form[action="takelogin.php"]
captcha:
type:image
selector:img[alt="CAPTCHA"]
input:imagestring
inputs:
secret:""
username:"{{ .Config.username }}"
password:"{{ .Config.password }}"
two_step_code:"{{ .Config.2facode }}"
logout:""
securelogin:""
ssl:yes
trackerssl:yes
error:
- selector:script:contains("'失败'")
message:
text:"图片代码无效!The Image code is invalid. Close the config and start again."
- selector:script:contains("'登录失败!'")
message:
text:"用户名或密码不正确!或者你还没有通过验证。The username or password is incorrect! Close the config and start again."
test:
path:index.php
selector:a[href*="logout.php"]
search:
paths:
- path:torrents.php
inputs:
$raw:"{{ range .Categories }}cat{{.}}=1&{{end}}"
search:"{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if .Query.DoubanID }}/{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if or .Query.IMDBID .Query.DoubanID }}{{ else }}{{ .Keywords }}{{ end }}"