mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
audiobookbay: loginbeforedownload. resolves #5702
This commit is contained in:
@@ -7,6 +7,8 @@
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
links:
|
links:
|
||||||
- http://audiobookbay.nl/
|
- http://audiobookbay.nl/
|
||||||
|
legacylinks:
|
||||||
|
- https://audiobookbay.nl/
|
||||||
- https://audiobookbay.la/
|
- https://audiobookbay.la/
|
||||||
|
|
||||||
caps:
|
caps:
|
||||||
@@ -74,8 +76,8 @@
|
|||||||
search: [q]
|
search: [q]
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: https://audiobookbay.nl/member/login.php
|
path: member/login.php
|
||||||
form: form[action="https://audiobookbay.nl/member/login.php"]
|
form: form[action$="/member/login.php"]
|
||||||
method: post
|
method: post
|
||||||
form: form
|
form: form
|
||||||
inputs:
|
inputs:
|
||||||
@@ -88,8 +90,13 @@
|
|||||||
path: /member/users/
|
path: /member/users/
|
||||||
|
|
||||||
download:
|
download:
|
||||||
selector: a[href^="/download?"]
|
method: get
|
||||||
attribute: href
|
before:
|
||||||
|
path: member/login.php
|
||||||
|
method: "post"
|
||||||
|
inputs:
|
||||||
|
username: "{{ .Config.username }}"
|
||||||
|
password: "{{ .Config.password }}"
|
||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
@@ -110,8 +117,11 @@
|
|||||||
selector: div.postTitle h2 a
|
selector: div.postTitle h2 a
|
||||||
attribute: href
|
attribute: href
|
||||||
download:
|
download:
|
||||||
selector: a[href^="/audio-books/"]
|
selector: a[href^="/dl-now?f="]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
filters:
|
||||||
|
- name: replace
|
||||||
|
args: ["/dl-now?f=", "/download?f="]
|
||||||
banner:
|
banner:
|
||||||
optional: true
|
optional: true
|
||||||
selector: img
|
selector: img
|
||||||
|
Reference in New Issue
Block a user