From 6e64aa4a884c411ae33d2f31b16205977310bc2d Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Wed, 14 Jul 2021 17:50:12 +1200 Subject: [PATCH] add swarmazon a private site. resolves #12015 --- README.md | 1 + src/Jackett.Common/Definitions/swarmazon.yml | 107 +++++++++++++++++++ 2 files changed, 108 insertions(+) create mode 100644 src/Jackett.Common/Definitions/swarmazon.yml diff --git a/README.md b/README.md index 3d5b9875e..2e76b337a 100644 --- a/README.md +++ b/README.md @@ -492,6 +492,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * SpringSunday * SugoiMusic * Superbits (SBS) + * Swarmazon * Tapochek * Tasmanit [![(invite needed)][inviteneeded]](#) * TeamHD diff --git a/src/Jackett.Common/Definitions/swarmazon.yml b/src/Jackett.Common/Definitions/swarmazon.yml new file mode 100644 index 000000000..886d290fc --- /dev/null +++ b/src/Jackett.Common/Definitions/swarmazon.yml @@ -0,0 +1,107 @@ +--- +id: swarmazon +name: Swarmazon +description: "Swarmazon is a Private Torrent Tracker for MOVIES / TV / GENERAL" +language: en +type: private +encoding: UTF-8 +links: + - https://swarmazon.club/ + +caps: + categorymappings: + - {id: 1, cat: Movies, desc: "Movies"} + - {id: 2, cat: TV, desc: "Television"} + - {id: 3, cat: Other, desc: "Video Courses"} + - {id: 4, cat: Audio, desc: "Music"} + - {id: 5, cat: PC/Games, desc: "Games"} + - {id: 6, cat: PC, desc: "Software"} + - {id: 7, cat: TV/Anime, desc: "Anime"} + - {id: 8, cat: Books/EBook, desc: "E-Books"} + - {id: 9, cat: Audio/Audiobook, desc: "Audio Books"} + - {id: 10, cat: Books/Comics, desc: "Comics"} + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + music-search: [q] + book-search: [q] + +login: + path: en/account/login.php + method: form + form: form + captcha: + type: image + selector: img[alt="CAPTCHA"] + input: captcha_challenge + inputs: + username: "{{ .Config.username }}" + password: "{{ .Config.password }}" + remember: on + error: + - selector: script:contains("The Captcha") + message: + text: The Captcha you entered was incorrect. + - selector: script:contains("Wrong") + message: + text: Wrong username or password. + - selector: script:contains("not found") + message: + text: User not found. + test: + path: forum/ + +search: + paths: + - path: "{{ if .Keywords }}en/search/search.php?category=all&query={{ .Keywords }}&limit=50{{ else }}index.php?date_range=14{{ end }}" + + rows: + selector: table.table-striped > tbody > tr + filters: + - name: andmatch + + fields: # some users (rank specific?) have an extra column (td:nth-child(4)) with bookmark features + category: + selector: td.Name + case: + "small:contains(\"in Movies\")": 1 + "small:contains(\"in Television\")": 2 + "small:contains(\"in Video Courses\")": 3 + "small:contains(\"in Music\")": 4 + "small:contains(\"in Games\")": 5 + "small:contains(\"in Software\")": 6 + "small:contains(\"in Anime\")": 7 + "small:contains(\"in E-Books\")": 8 + "small:contains(\"in Audio Books\")": 9 + "small:contains(\"in Comics\")": 10 + title: + selector: a[href*="/view/torrent.php?hash="] + details: + selector: a[href*="/view/torrent.php?hash="] + attribute: href + download: + selector: a[href^="/api/download.php?hash="] + attribute: href + size: + selector: td:nth-last-child(6) + date: + selector: td:nth-last-child(5) + filters: + - name: timeago + grabs: + selector: td:nth-last-child(4) + seeders: + selector: td:nth-last-child(3) + leechers: + selector: td:nth-last-child(2) + downloadvolumefactor: + case: + "span.badge:contains(\"Freeleech\")": 0 + "*": 1 + uploadvolumefactor: + text: 1 + minimumratio: + text: 1.1 +# Engine n/a