From 96d23ca19a5f0063e059c82941ec077d305a128f Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Thu, 12 Mar 2020 17:31:03 +1300 Subject: [PATCH] add torrentv a public movie site. resolves #7575 --- README.md | 1 + src/Jackett.Common/Definitions/torrentv.yml | 87 +++++++++++++++++++++ 2 files changed, 88 insertions(+) create mode 100644 src/Jackett.Common/Definitions/torrentv.yml diff --git a/README.md b/README.md index 9829b045b..ddb117b36 100644 --- a/README.md +++ b/README.md @@ -134,6 +134,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * TorrentRex * TorrentQuest * Torrents.csv + * Torrentv * TorrentView * TorrentWal * Torrentz2 diff --git a/src/Jackett.Common/Definitions/torrentv.yml b/src/Jackett.Common/Definitions/torrentv.yml new file mode 100644 index 000000000..b2aa2aead --- /dev/null +++ b/src/Jackett.Common/Definitions/torrentv.yml @@ -0,0 +1,87 @@ +--- + site: torrentv + name: Torrentv + description: "Torrentv is a Public tracker for MOVIES" + language: en-us + type: public + encoding: UTF-8 + links: + - https://torrentv.org/ + + caps: + categories: + 1: Movies + + modes: + search: [q] + movie-search: [q] + + settings: + - name: sort + type: select + label: Sort requested from site (Applies only to Keyword searches) + default: "td-1" + options: + "td-1": "created" + "s-1": "seeders" + "na-1": "title" + + download: + selector: a[href^="magnet:?xt="] + attribute: href + + search: + paths: + - path: "{{ if .Keywords }}search/{{ .Keywords }}/{{ .Config.sort }}/{{else}}new.html{{end}}" + + rows: + selector: div.grid_4 + + fields: + category: + text: 1 + title: + selector: h3 a + details: + selector: h3 a + attribute: href + download: + selector: h3 a + attribute: href + banner: + selector: img[src^="/pic/"] + attribute: src + subcat: + selector: div.box ul li:first-child + year: + selector: div.box ul li:contains("Year:") + quality: + selector: div.box ul li:contains("Quality:") + description: + text: "{{ .Result.subcat }} {{ .Result.year }} {{ .Result.quality }}" + date: + text: now + size: + selector: div.box ul li:contains("Size:") + filters: + - name: replace + args: ["Size:", ""] + seeders: + selector: div.box ul li:contains("Seed/DL:") + filters: + - name: replace + args: ["Seed/DL:", ""] + - name: split + args: ["/", 0] + leechers: + selector: div.box ul li:contains("Seed/DL:") + filters: + - name: replace + args: ["Seed/DL:", ""] + - name: split + args: ["/", 1] + downloadvolumefactor: + text: 0 + uploadvolumefactor: + text: 1 +# engine n/a