mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
galeriens: switch to cookie method. resolves #7544
This commit is contained in:
@@ -182,12 +182,19 @@
|
|||||||
movie-search: [q]
|
movie-search: [q]
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
- name: username
|
# - name: username
|
||||||
|
# type: text
|
||||||
|
# label: Username
|
||||||
|
# - name: password
|
||||||
|
# type: password
|
||||||
|
# label: Password
|
||||||
|
- 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 <b>'cookie:'</b> in the <b>Request Headers</b> section<li><b>Select</b> and <b>Copy</b> the whole cookie string <i>(everything after 'cookie: ')</i> and <b>Paste</b> here.</ol>"
|
||||||
- name: torrentlanguage
|
- name: torrentlanguage
|
||||||
type: select
|
type: select
|
||||||
label: Torrent Language
|
label: Torrent Language
|
||||||
@@ -220,13 +227,16 @@
|
|||||||
"23": "Ukrainien"
|
"23": "Ukrainien"
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: TTV3/Connexion
|
# path: TTV3/Connexion
|
||||||
method: post
|
# method: post
|
||||||
|
# inputs:
|
||||||
|
# username: "{{ .Config.username }}"
|
||||||
|
# password: "{{ .Config.password }}"
|
||||||
|
# error:
|
||||||
|
# - selector: font[color="red"]
|
||||||
|
method: cookie
|
||||||
inputs:
|
inputs:
|
||||||
username: "{{ .Config.username }}"
|
cookie: "{{ .Config.cookie }}"
|
||||||
password: "{{ .Config.password }}"
|
|
||||||
error:
|
|
||||||
- selector: font[color="red"]
|
|
||||||
test:
|
test:
|
||||||
path: TTV3/Bienvenue
|
path: TTV3/Bienvenue
|
||||||
selector: a[href$="/TTV3/Deconnexion"]
|
selector: a[href$="/TTV3/Deconnexion"]
|
||||||
|
Reference in New Issue
Block a user