From b4e4cc6edd31d0aa774486ea14282874c463fe59 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Mon, 1 Nov 2021 20:03:14 +1300 Subject: [PATCH] add torlook a public site. resolves #5917 --- README.md | 1 + src/Jackett.Common/Definitions/torlook.yml | 87 ++++++++++++++++++++++ 2 files changed, 88 insertions(+) create mode 100644 src/Jackett.Common/Definitions/torlook.yml diff --git a/README.md b/README.md index cad659f65..26e68c610 100644 --- a/README.md +++ b/README.md @@ -142,6 +142,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * The Pirate Bay (TPB) * Tokyo Tosho * Torlock + * Torlook * TOROS * Torrent Downloads (TD) * Torrent Oyun indir diff --git a/src/Jackett.Common/Definitions/torlook.yml b/src/Jackett.Common/Definitions/torlook.yml new file mode 100644 index 000000000..bf2e3bcf3 --- /dev/null +++ b/src/Jackett.Common/Definitions/torlook.yml @@ -0,0 +1,87 @@ +--- +id: torlook +name: Torlook +description: "Torlook is a Russian Public torrent meta-search engine combining results from dozens of torrent sites" +language: en-US +type: public +encoding: UTF-8 +links: + - https://gw1.torlook.info/ + +caps: + categorymappings: + - {id: 1, cat: Other, desc: "Other"} + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + music-search: [q] + book-search: [q] + +settings: + - name: sort + type: select + label: Sort requested from site + default: date + options: + date: created + seeders: seeders + size: size + - name: info_8000 + type: info + label: About Torlook Categories + default: Torlook does not return categories in its search results.
To add to your Apps' Torznab indexer, replace all categories with 8000(Other). + +download: + infohash: + hash: + selector: script:contains("magnet:?xt=") + filters: + - name: regexp + args: ([A-F|a-f|0-9]{40}) + title: + selector: script:contains("magnet:?xt=") + filters: + - name: regexp + args: ([A-F|a-f|0-9]{40}) + +search: + paths: + - path: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}/{{ .Config.sort }}" + + rows: + selector: div.webResult:has(a.magneto[data-src]) + + fields: + category: + text: 1 + title: + selector: p > a + details: + selector: p > a + attribute: href + download: + selector: a.magneto + attribute: data-src + filters: + - name: prepend + args: "{{ .Config.sitelink }}" + date: + selector: span.date + filters: + - name: append + args: " +03:00" # MSK + - name: dateparse + args: "2006-01-02 -07:00" + size: + selector: span.size + seeders: + selector: span.seeders + leechers: + selector: span.leechers + downloadvolumefactor: + text: 0 + uploadvolumefactor: + text: 1 +# engine n/a