From 3d8a761524f7368eb8c3c2a16e5ffbc2f4534b71 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Fri, 14 Feb 2020 17:38:49 +1300 Subject: [PATCH] add badasstorrents a public site. resolves #7196 --- README.md | 1 + .../Definitions/badasstorrents.yml | 73 +++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 src/Jackett.Common/Definitions/badasstorrents.yml diff --git a/README.md b/README.md index e712bf716..785f29247 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * Anime Tosho * AniRena * AudioBook Bay (ABB) + * Badass Torrents * BigFANGroup * BitRu * BitTorrent.AM diff --git a/src/Jackett.Common/Definitions/badasstorrents.yml b/src/Jackett.Common/Definitions/badasstorrents.yml new file mode 100644 index 000000000..3f72bcc03 --- /dev/null +++ b/src/Jackett.Common/Definitions/badasstorrents.yml @@ -0,0 +1,73 @@ +--- + site: badasstorrents + name: Badass Torrents + description: "Badass Torrents is a Public torrent site for MOVIES / TV / GENERAL" + language: en-us + type: public + encoding: UTF-8 + links: + - https://badasstorrents.com/ + + caps: + categories: + "Anime": TV/Anime + "apps": PC + "Books": Books + "Games": PC/Games + "Movies": Movies + "Music": Audio + "Other": Other + "TV": TV + "XXX": XXX + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + + settings: + - name: downloadlink + type: select + label: Download link + default: "magnet:?xt=" + options: + "/download/" : ".torrent" + "magnet:?xt=": "magnet" + + download: + selector: a[href*="{{ .Config.downloadlink }}"] + attribute: href + + search: + paths: + - path: "torrents/search/{{ .Keywords }}" + + rows: + selector: table.table-hover > tbody > tr:has(a[href*="/torrent/"]) + + fields: + category: + selector: a[href*="/cat/"] + title: + selector: a[href*="/torrent/"] + details: + selector: a[href*="/torrent/"] + attribute: href + download: + selector: a[href*="/torrent/"] + attribute: href + date: + selector: td:nth-child(3) + filters: + - name: timeago + size: + selector: td:nth-child(4) + seeders: + selector: td:nth-child(5) + leechers: + selector: td:nth-child(6) + downloadvolumefactor: + text: 0 + uploadvolumefactor: + text: 1 +# engine n/a