From 88ab9db4619bcb7de0abfe4c186d7e0e515678bb Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Tue, 12 Oct 2021 22:10:42 +1300 Subject: [PATCH] add mactorrentsdownload a public site. resolves #12396 --- README.md | 1 + .../Definitions/mactorrentsdownload.yml | 77 +++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 src/Jackett.Common/Definitions/mactorrentsdownload.yml diff --git a/README.md b/README.md index 940fae3f9..5913b9a63 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * LimeTorrents * LinuxTracker * MacTorrents + * Mac Torrents Download * MegaPeer * MejorTorrent * Mikan diff --git a/src/Jackett.Common/Definitions/mactorrentsdownload.yml b/src/Jackett.Common/Definitions/mactorrentsdownload.yml new file mode 100644 index 000000000..c9e631d5c --- /dev/null +++ b/src/Jackett.Common/Definitions/mactorrentsdownload.yml @@ -0,0 +1,77 @@ +--- +id: mactorrentsdownload +name: Mac Torrents Download +description: "Mac Torrents Download is a Public tracker for Mac software" +language: en-US +type: public +encoding: UTF-8 +links: + - https://www.torrentmac.net/ + +caps: + categorymappings: + - {id: "applications", cat: PC/Mac, desc: "Apps"} + - {id: "games", cat: PC/Games, desc: Games} + - {id: "uncategorized", cat: Other, desc: Uncategorized} + + modes: + search: [q] + +settings: [] + +download: + selectors: + - selector: a[href$=".torrent"] + attribute: href + +search: + paths: + - path: / + inputs: + s: "{{ .Keywords }}" + + rows: + selector: article[id^="post-"] + filters: + - name: andmatch + + fields: + category: + selector: a[href*="/category/"] + attribute: href + filters: + - name: split + args: ["/", 4] + title: + selector: a + attribute: title + details: + selector: a + attribute: href + download: + selector: a + attribute: href + poster: + selector: img + attribute: src + description: + selector: section p + date: + selector: time + attribute: datetime + filters: + - name: append + args: " -07:00" # PDT + - name: dateparse + args: "2006-01-02 -07:00" + size: + text: "512 MB" + seeders: + text: 1 + leechers: + text: 1 + downloadvolumefactor: + text: 0 + uploadvolumefactor: + text: 1 +# WordPress 4.9.18