mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02: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:
@@ -35,40 +35,23 @@
|
|||||||
tv-search: [q, season, ep]
|
tv-search: [q, season, ep]
|
||||||
movie-search: [q]
|
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:
|
login:
|
||||||
method: cookie
|
path: login
|
||||||
|
method: form
|
||||||
|
form: form[action="/login"]
|
||||||
inputs:
|
inputs:
|
||||||
cookie: "{{ .Config.cookie }}"
|
username: "{{ .Config.username }}"
|
||||||
test:
|
password: "{{ .Config.password }}"
|
||||||
path: /
|
cinfo: "1536|864|24|-780"
|
||||||
selector: li#nav_logout
|
iplocked: 0
|
||||||
|
keeploggedin: 1
|
||||||
|
submit: "login"
|
||||||
|
selectorinputs:
|
||||||
|
token:
|
||||||
|
selector: input[name="token"]
|
||||||
|
attribute: value
|
||||||
|
error:
|
||||||
|
- selector: table#maincontent tr td div div#messagebarA
|
||||||
|
|
||||||
ratio:
|
ratio:
|
||||||
path: /
|
path: /
|
||||||
|
Reference in New Issue
Block a user