1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-04 06:22:45 +00:00

blutopia: switch to cookie login. resolves #6941

This commit is contained in:
Garfield69 2020-01-14 08:33:36 +13:00
parent 1ac309d513
commit 2f8a093962

View file

@ -20,12 +20,13 @@
movie-search: [q, imdbid] movie-search: [q, imdbid]
settings: settings:
- name: username - name: cookie
type: text type: text
label: Username label: Cookie
- name: password - name: info
type: password type: info
label: Password label: How to get the Cookie
default: "<ol><li>Login to this tracker with 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>"
- name: sort - name: sort
type: select type: select
label: Sort requested from site label: Sort requested from site
@ -44,16 +45,9 @@
"asc": "asc" "asc": "asc"
login: login:
path: login method: cookie
method: form
inputs: inputs:
username: "{{ .Config.username }}" cookie: "{{ .Config.cookie }}"
password: "{{ .Config.password }}"
remember: on
error:
- selector: script[nonce]:contains("Error")
message:
selector: script[nonce]:contains("Error")
test: test:
path: / path: /
selector: a[href$="/logout"] selector: a[href$="/logout"]
@ -176,4 +170,4 @@
i[class*="fa-globe text-green"]: 2 # Global Double Upload i[class*="fa-globe text-green"]: 2 # Global Double Upload
i[class*="fa-certificate text-pink"]: 2 # Featured Torrent i[class*="fa-certificate text-pink"]: 2 # Featured Torrent
"*": 1 "*": 1
# UNIT3D 2.2.7 # UNIT3D 2.3.0