From 14c95a353b36c0a7e05096d41609bab5b4685f29 Mon Sep 17 00:00:00 2001 From: Bernard McKeever Date: Fri, 12 Feb 2021 21:26:54 +0000 Subject: [PATCH] Adding indexer for acrossthetasman.com (#11063) Co-authored-by: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> --- README.md | 1 + .../Definitions/acrossthetasman.yml | 87 +++++++++++++++++++ 2 files changed, 88 insertions(+) create mode 100644 src/Jackett.Common/Definitions/acrossthetasman.yml diff --git a/README.md b/README.md index 1b373f8a7..a65d89929 100644 --- a/README.md +++ b/README.md @@ -226,6 +226,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * Abnormal [![(invite needed)][inviteneeded]](#) * ABtorrents (ABT + RNS) * Acid Lounge (A-L) [![(invite needed)][inviteneeded]](#) + * AcrossTheTasman [![(invite needed)][inviteneeded]](#) * Aftershock * Aidoru!Online * Aither diff --git a/src/Jackett.Common/Definitions/acrossthetasman.yml b/src/Jackett.Common/Definitions/acrossthetasman.yml new file mode 100644 index 000000000..39b58e988 --- /dev/null +++ b/src/Jackett.Common/Definitions/acrossthetasman.yml @@ -0,0 +1,87 @@ +--- +id: acrossthetasman +name: Across The Tasman +description: "ATT is a torrent site for Rugby and other sports played in Australia" +language: en +type: private +encoding: UTF-8 +links: + - https://acrossthetasman.com/ + +caps: + categories: + 1: TV/Sport + + modes: + search: [q] + +settings: + - name: username + type: text + label: Username + - name: password + type: password + label: Password + - name: sort + type: select + default: date + options: + date: Date + filename: Thread Title + size: Size + seeders: Seeders + leechers: Leechers + completed: Downloaded + upspeed: UL Speed + downspeed: DL Speed + - name: order + type: select + default: desc + options: + desc: Desc + asc: Asc + +login: + method: post + path: login.php + inputs: + vb_login_username: "{{ .Config.username }}" + vb_login_password: "{{ .Config.password }}" + cookieuser: 1 + do: login + test: + path: torrents.php + +search: + paths: + - path: "torrents.php?sort={{ .Config.sort }}&order={{ .Config.order}}&query={{ if .Keywords }}{{ .Keywords }}{{ else }}{{ end }}" + + rows: + selector: table[width='100%'][align='center']:not([class]) > tbody > tr + + fields: + date: + # Feb 12, 2021 + selector: td:nth-child(1) + filters: + - name: dateparse + args: "Feb 12, 2021 " + forum: + selector: td:nth-child(3) + title: + selector: td:nth-child(4) > span:nth-child(1) + filters: + - name: re_replace + args: ["[\\s]+Uploaded.*", ""] + download: + selector: a[href*="attachment.php?attachmentid="] + attribute: href + seeders: + selector: td:nth-child(5) + leechers: + selector: td:nth-child(6) + grabs: + selector: td:nth-child(7) + size: + selector: td:nth-child(10) +# engine n/a