mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
proaudiotorrent: add login form
and let cardigannindexer decide to show cookie login when recaptcha detected.
This commit is contained in:
@@ -6,6 +6,8 @@
|
|||||||
type: private
|
type: private
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
links:
|
links:
|
||||||
|
- https://proaudiotorrents.org/
|
||||||
|
legacylinks:
|
||||||
- http://proaudiotorrents.org/
|
- http://proaudiotorrents.org/
|
||||||
|
|
||||||
caps:
|
caps:
|
||||||
@@ -36,21 +38,18 @@
|
|||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
|
|
||||||
settings:
|
|
||||||
- name: cookie
|
|
||||||
type: text
|
|
||||||
label: Cookie
|
|
||||||
- name: info
|
|
||||||
type: info
|
|
||||||
label: How to get the Cookie
|
|
||||||
default: "<p>This site requires you to solve a ReCaptcha. It's no longer possible to solve the captcha in Jackett. Please enter the cookie for the site manually.</p><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>"
|
|
||||||
|
|
||||||
login:
|
login:
|
||||||
method: cookie
|
path: login.php
|
||||||
|
method: form
|
||||||
|
form: form[action="takelogin.php"]
|
||||||
|
submitpath: takelogin.php
|
||||||
inputs:
|
inputs:
|
||||||
cookie: "{{.Config.cookie}}"
|
username: "{{ .Config.username }}"
|
||||||
|
password: "{{ .Config.password }}"
|
||||||
|
error:
|
||||||
|
- selector: table tr td.text
|
||||||
test:
|
test:
|
||||||
path: index.php
|
path: my.php
|
||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
|
Reference in New Issue
Block a user