From 00494bdac1def0fc83dbf9fee8093d1bc3170de9 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sat, 23 Feb 2019 16:06:42 +1300 Subject: [PATCH] add solidtorrents: a Public meta-search engine. resolves #4751 --- README.md | 1 + .../Definitions/solidtorrents.yml | 74 +++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 src/Jackett.Common/Definitions/solidtorrents.yml diff --git a/README.md b/README.md index 43b7df8fc..18dd169ad 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * shokweb * ShowRSS * SkyTorrentsClone + * SolidTorrents * sukebei.Nyaa.si * sukebei-Pantsu * The Pirate Bay (TPB) diff --git a/src/Jackett.Common/Definitions/solidtorrents.yml b/src/Jackett.Common/Definitions/solidtorrents.yml new file mode 100644 index 000000000..0dbd903c9 --- /dev/null +++ b/src/Jackett.Common/Definitions/solidtorrents.yml @@ -0,0 +1,74 @@ +--- + site: solidtorrents + name: SolidTorrents + description: "SolidTorrents is a Public torrent meta-search engine" + language: en-us + type: public + encoding: UTF-8 + links: + - https://solidtorrents.net/ + + caps: + categories: + "Audio": Audio + "Video": Movies + "Image": Other/Misc + "Document": Books/Comics + "eBook": Books/Ebook + "Program": PC/0day + "Android": PC/Phone-Android + "Archive": Other + "Diskimage": PC/ISO + "Sourcecode": Movies/Other + "Database": Movie/DVD + "Unknown": Other + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + + settings: [] + + search: + paths: + # https://solidtorrents.net/search?q=gotham%20s05e02&sort=date&category=all + - path: "search?q={{.Keywords}}&sort=date&category=all" + rows: + selector: div[role="listitem"]:has(a[href^="magnet:?xt="]) + fields: + title: + selector: div[class$="__title"] h3 + details: + selector: div[class$="__title"] a + attribute: href + download: + selector: a[href^="magnet:?xt="] + attribute: href + category: + selector: div.v-list__tile__content div:nth-of-type(2) + filters: + - name: regexp + args: "(.+?) \\|" + date: + selector: div.v-list__tile__content div:nth-of-type(2) + filters: + - name: replace + args: ["a few", "1"] + - name: replace + args: ["an ", "1 "] + - name: replace + args: ["a ", "1 "] + - name: regexp + args: "(\\d+ \\w+ \\w+)" + seeders: + selector: div.v-list__tile__content div:nth-of-type(3) span:nth-child(1) + leechers: + selector: div.v-list__tile__content div:nth-of-type(3) span:nth-child(2) + size: + selector: div.v-list__tile__content div:nth-of-type(3) + remove: span + downloadvolumefactor: + text: "0" + uploadvolumefactor: + text: "1" \ No newline at end of file