mirror of
https://github.com/Jackett/Jackett
synced 2025-02-21 22:07:10 +00:00
audiobookbay: loginbeforedownload. resolves #5702
This commit is contained in:
parent
162966a40d
commit
72f9c24ab2
1 changed files with 15 additions and 5 deletions
|
@ -7,6 +7,8 @@
|
|||
encoding: UTF-8
|
||||
links:
|
||||
- http://audiobookbay.nl/
|
||||
legacylinks:
|
||||
- https://audiobookbay.nl/
|
||||
- https://audiobookbay.la/
|
||||
|
||||
caps:
|
||||
|
@ -74,8 +76,8 @@
|
|||
search: [q]
|
||||
|
||||
login:
|
||||
path: https://audiobookbay.nl/member/login.php
|
||||
form: form[action="https://audiobookbay.nl/member/login.php"]
|
||||
path: member/login.php
|
||||
form: form[action$="/member/login.php"]
|
||||
method: post
|
||||
form: form
|
||||
inputs:
|
||||
|
@ -88,8 +90,13 @@
|
|||
path: /member/users/
|
||||
|
||||
download:
|
||||
selector: a[href^="/download?"]
|
||||
attribute: href
|
||||
method: get
|
||||
before:
|
||||
path: member/login.php
|
||||
method: "post"
|
||||
inputs:
|
||||
username: "{{ .Config.username }}"
|
||||
password: "{{ .Config.password }}"
|
||||
|
||||
search:
|
||||
paths:
|
||||
|
@ -110,8 +117,11 @@
|
|||
selector: div.postTitle h2 a
|
||||
attribute: href
|
||||
download:
|
||||
selector: a[href^="/audio-books/"]
|
||||
selector: a[href^="/dl-now?f="]
|
||||
attribute: href
|
||||
filters:
|
||||
- name: replace
|
||||
args: ["/dl-now?f=", "/download?f="]
|
||||
banner:
|
||||
optional: true
|
||||
selector: img
|
||||
|
|
Loading…
Reference in a new issue