diff --git a/README.md b/README.md index 3ba63e057..a964ac2ef 100644 --- a/README.md +++ b/README.md @@ -154,6 +154,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * Torrentv * TorrentView (토렌트뷰) * TorrentWhiz ( 토렌트위즈) + * Torrentz2eu * truPornolabs * Underverse * UnionDHT diff --git a/src/Jackett.Common/Definitions/torrentz2eu.yml b/src/Jackett.Common/Definitions/torrentz2eu.yml new file mode 100644 index 000000000..67fec1ce4 --- /dev/null +++ b/src/Jackett.Common/Definitions/torrentz2eu.yml @@ -0,0 +1,61 @@ +--- +id: torrentz2eu +name: Torrentz2eu +description: "Torrentz2eu is a Public torrent meta-search engine" +language: en +type: public +encoding: UTF-8 +links: + - https://torrentz2.unblockninja.com/ + +caps: + # unfortunately torrentz2eu does not display categories anywhere in its search results page :-( + categorymappings: + - {id: 1, cat: Movies, desc: "Movies"} + - {id: 2, cat: TV, desc: "TV"} + - {id: 3, cat: Other, desc: "Other"} + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + +settings: + - name: info + type: info + label: A note about Torrentz2eu + default: Torrentz2eu does not display categories in its search results page. This definition is probably only suitable for Jackett Dashboard Manual searches. + +search: + paths: + - path: data.php + inputs: + q: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}" + + rows: + selector: table.table-bordered > tbody > tr + + fields: + category: + text: 3 + title: + selector: td:nth-child(1) + details: + # no details page, default to sitelink + text: "{{ .Config.sitelink }}" + magnet: + selector: td:nth-child(6) a + attribute: href + date: + selector: td:nth-child(2) + seeders: + selector: td:nth-child(3) + leechers: + selector: td:nth-child(4) + size: + selector: td:nth-child(5) + downloadvolumefactor: + text: 0 + uploadvolumefactor: + text: 1 +# engine n/a