From 840227509303d30dc57943f1d3b45265c9e0f818 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Thu, 16 Jan 2020 16:58:44 +1300 Subject: [PATCH] audionookbay: switch to public. resolves #6958 build magnet from infohash instead of using the download link (which required an a/c) --- .../Definitions/audiobookbay.yml | 37 +++++-------------- 1 file changed, 10 insertions(+), 27 deletions(-) diff --git a/src/Jackett.Common/Definitions/audiobookbay.yml b/src/Jackett.Common/Definitions/audiobookbay.yml index f9660b01e..69c907c67 100644 --- a/src/Jackett.Common/Definitions/audiobookbay.yml +++ b/src/Jackett.Common/Definitions/audiobookbay.yml @@ -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