mirror of
https://github.com/Jackett/Jackett
synced 2025-02-23 14:51:01 +00:00
nostalgic: now using username and password instead of cookie method.
selector cinfo was the key to cracking the sites bot-detection check.
This commit is contained in:
parent
56a26dd265
commit
90d0f5b2e0
1 changed files with 15 additions and 32 deletions
|
@ -35,40 +35,23 @@
|
|||
tv-search: [q, season, ep]
|
||||
movie-search: [q]
|
||||
|
||||
settings:
|
||||
- name: cookie
|
||||
type: text
|
||||
label: Cookie
|
||||
- name: info
|
||||
type: info
|
||||
label: How to get the Cookie
|
||||
default: "<ol><li>Login to this tracker in your browser<li>Open the <b>DevTools</b> panel by pressing <b>F12</b><li>Select the <b>Network</b> tab<li>Click on the <b>Doc</b> button<li>Refresh the page by pressing <b>F5</b><li>Select the <b>Headers</b> tab<li>Find 'cookie:' in the <b>Request Headers</b> section<li>Copy & paste the whole cookie string to here</ol>"
|
||||
|
||||
# getting error: bots are forbidden
|
||||
# login:
|
||||
# path: login
|
||||
# method: form
|
||||
# form: form[action="/login"]
|
||||
# inputs:
|
||||
# username: "{{ .Config.username }}"
|
||||
# password: "{{ .Config.password }}"
|
||||
# cinfo: "auth"
|
||||
# iplocked: 0
|
||||
# keeploggedin: 1
|
||||
# submit: "login"
|
||||
# selectorinputs:
|
||||
# token:
|
||||
# selector: input[name="token"]
|
||||
# attribute: value
|
||||
# error:
|
||||
# - selector: table#maincontent tr td div div#messagebarA
|
||||
login:
|
||||
method: cookie
|
||||
path: login
|
||||
method: form
|
||||
form: form[action="/login"]
|
||||
inputs:
|
||||
cookie: "{{ .Config.cookie }}"
|
||||
test:
|
||||
path: /
|
||||
selector: li#nav_logout
|
||||
username: "{{ .Config.username }}"
|
||||
password: "{{ .Config.password }}"
|
||||
cinfo: "1536|864|24|-780"
|
||||
iplocked: 0
|
||||
keeploggedin: 1
|
||||
submit: "login"
|
||||
selectorinputs:
|
||||
token:
|
||||
selector: input[name="token"]
|
||||
attribute: value
|
||||
error:
|
||||
- selector: table#maincontent tr td div div#messagebarA
|
||||
|
||||
ratio:
|
||||
path: /
|
||||
|
|
Loading…
Reference in a new issue