From bd5e407b5344cd1236b8f02f118b4d0f8740dbe7 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sun, 8 Mar 2020 08:13:11 +1300 Subject: [PATCH] galeriens: switch to cookie method. resolves #7544 --- src/Jackett.Common/Definitions/galeriens.yml | 36 +++++++++++++------- 1 file changed, 23 insertions(+), 13 deletions(-) diff --git a/src/Jackett.Common/Definitions/galeriens.yml b/src/Jackett.Common/Definitions/galeriens.yml index 5198e309e..2effe9b7e 100644 --- a/src/Jackett.Common/Definitions/galeriens.yml +++ b/src/Jackett.Common/Definitions/galeriens.yml @@ -182,12 +182,19 @@ movie-search: [q] settings: - - name: username +# - name: username +# type: text +# label: Username +# - name: password +# type: password +# label: Password + - name: cookie type: text - label: Username - - name: password - type: password - label: Password + label: Cookie + - name: info + type: info + label: How to get the Cookie + default: "
  1. Login to this tracker with your browser
  2. Open the DevTools panel by pressing F12
  3. Select the Network tab
  4. Click on the Doc button
  5. Refresh the page by pressing F5
  6. Select the Headers tab
  7. Find 'cookie:' in the Request Headers section
  8. Select and Copy the whole cookie string (everything after 'cookie: ') and Paste here.
" - name: torrentlanguage type: select label: Torrent Language @@ -220,13 +227,16 @@ "23": "Ukrainien" login: - path: TTV3/Connexion - method: post +# path: TTV3/Connexion +# method: post +# inputs: +# username: "{{ .Config.username }}" +# password: "{{ .Config.password }}" +# error: +# - selector: font[color="red"] + method: cookie inputs: - username: "{{ .Config.username }}" - password: "{{ .Config.password }}" - error: - - selector: font[color="red"] + cookie: "{{ .Config.cookie }}" test: path: TTV3/Bienvenue selector: a[href$="/TTV3/Deconnexion"] @@ -246,7 +256,7 @@ type: "tout" # searchin nomtorrent (name) or desctorrent (descr) endroit: "nomtorrent" - # language 11 french 17 multi + # language 11 french 17 multi langue: "{{ .Config.torrentlanguage }}" # freeleech oui (yes) non (no) peuimporte (ignore) tl: "peuimporte" @@ -257,7 +267,7 @@ category: selector: a[href*="/SousCategories/"] attribute: href - filters: + filters: - name: regexp args: (\d+)$ title: