1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-01 12:46:23 +00:00

audionookbay: switch to public. resolves #6958

build magnet from infohash instead of using the download link (which required an a/c)
This commit is contained in:
Garfield69 2020-01-16 16:58:44 +13:00
parent 5a27395553
commit 8402275093

View file

@ -1,11 +1,10 @@
---
site: audiobookbay
name: AudioBookBay
description: "AudioBook Bay (ABB) is a semi-private Torrent Tracker for AUDIOBOOKS"
description: "AudioBook Bay (ABB) is a public Torrent Tracker for AUDIOBOOKS"
language: en-us
type: semi-private
type: public
encoding: UTF-8
followredirect: true
links:
- http://audiobookbay.nl/
legacylinks:
@ -75,28 +74,15 @@
modes:
search: [q]
login:
path: https://audiobookbay.nl/member/login.php
form: form[action$="/member/login.php"]
method: post
form: form
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: div.warning
test:
path: http://audiobookbay.nl/member/users/
selector: a[href="/member/logout"]
settings: []
download:
method: get
before:
path: https://audiobookbay.nl/member/login.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
selector: td:contains("Info Hash:") ~ td
filters:
- name: prepend
args: "magnet:?xt=urn:btih:"
- name: append
args: "&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2Fannounce&tr=udp%3A%2F%2Fopen.stealth.si%3A80%2Fannounce&tr=udp%3A%2F%2Fexodus.desync.com%3A6969&tr=udp%3A%2F%2Fp4p.arenabg.com%3A1337%2Fannounce&tr=udp%3A%2F%2Fexplodie.org%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.tiny-vps.com%3A6969%2Fannounce&tr=udp%3A%2F%2Fopen.demonii.si%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451%2Fannounce&tr=udp%3A%2F%2Ftracker.pirateparty.gr%3A6969%2Fannounce&tr=udp%3A%2F%2Fipv4.tracker.harry.lu%3A80%2Fannounce&tr=udp%3A%2F%2Ftracker.cyberia.is%3A6969%2Fannounce&tr=udp%3A%2F%2F9.rarbg.to%3A2710%2Fannounce&tr=udp%3A%2F%2Fdenis.stalker.upeer.me%3A6969%2Fannounce"
search:
paths:
@ -119,11 +105,8 @@
selector: div.postTitle h2 a
attribute: href
download:
selector: a[href^="/dl-now?f="]
selector: div.postTitle h2 a
attribute: href
filters:
- name: replace
args: ["/dl-now?f=", "/download?f="]
banner:
optional: true
selector: img