From 84e7a1d34bc02163505cbbf05228995684e88268 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Wed, 14 Oct 2020 16:54:00 +1300 Subject: [PATCH] add woot a private German site resolves #9828 --- README.md | 1 + src/Jackett.Common/Definitions/woot.yml | 143 ++++++++++++++++++++++++ 2 files changed, 144 insertions(+) create mode 100644 src/Jackett.Common/Definitions/woot.yml diff --git a/README.md b/README.md index 5b13ab76c..de3a871a7 100644 --- a/README.md +++ b/README.md @@ -541,6 +541,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * Vizuk * WDT (Wrestling Desires Torrents / Ultimate Wrestling Torrents) * Witch-Hunter (Demon-Site) + * wOOt * World-In-HD * x-ite.me (XM) * xBytesV2 diff --git a/src/Jackett.Common/Definitions/woot.yml b/src/Jackett.Common/Definitions/woot.yml new file mode 100644 index 000000000..6cbac22f0 --- /dev/null +++ b/src/Jackett.Common/Definitions/woot.yml @@ -0,0 +1,143 @@ +--- +id: woot +name: wOOt +description: "wOOt is a Private GERMAN site for TV / MOVIES / GENERAL" +language: de-de +type: private +encoding: iso-8859-1 +links: + - https://mywoot.biz/ + +caps: + categorymappings: + - {id: 73, cat: Audio/Audiobook, desc: "Misc/Abooks"} + - {id: 74, cat: Other, desc: "Misc/All"} + - {id: 72, cat: Books/Ebook, desc: "Misc/Ebooks"} + - {id: 71, cat: PC/Games, desc: "Misc/Games"} + - {id: 70, cat: PC/0day, desc: "Misc/Software"} + - {id: 60, cat: Movies/HD, desc: "Movies/HD"} + - {id: 63, cat: Movies/Other, desc: "Movies/Misc"} + - {id: 61, cat: Movies/SD, desc: "Movies/SD"} + - {id: 62, cat: Movies, desc: "Movies/Untouched"} + - {id: 66, cat: TV/Documentary, desc: "TV/Doku HD"} + - {id: 67, cat: TV/Documentary, desc: "TV/Doku SD"} + - {id: 69, cat: TV/OTHER, desc: "TV/Misc"} + - {id: 64, cat: TV/HD, desc: "TV/Serien HD"} + - {id: 65, cat: TV/SD, desc: "TV/Serien SD"} + - {id: 68, cat: TV/Sport, desc: "TV/Sport"} + + modes: + search: [q, imdbid] + tv-search: [q, season, ep, imdbid] + movie-search: [q, imdbid] + music-search: [q] + book-search: [q] + +settings: + - name: username + type: text + label: Username + - name: password + type: password + label: Password + +login: + path: kokosnuss/kscripts/process/login.php + method: post + inputs: + login: "{{ .Config.username }}" + pw: "{{ .Config.password }}" + selectorinputs: + __csrf_magic: + selector: input[name="__csrf_magic"] + attribute: value + tstamp: + selector: input[name="tstamp"] + attribute: value + error: + - selector: div.error + test: + path: index.php + selector: a[href="/logout.php"] + +search: + # 25 results pe page, lets at least try to 50 + paths: + # https://mywoot.biz/list.php?q=wake+bluray&in=name&imdb= + # https://mywoot.biz/list.php?q=&in=name&imdb=tt0367478 + - path: list.php + - path: list.php + inputs: + page: 1 + inputs: + q: "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" + # site does not support multi cats queries, defaulting to all + cat: 0 + # name, descr, both + in: name + imdb: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}" + + rows: + selector: div.tbList table tbody tr:has(a[href^="download.php?torrent="]) + + fields: + title: + selector: a[href^="item.php?id="] + details: + selector: a[href^="item.php?id="] + attribute: href + download: + selector: a[href^="download.php?torrent="] + attribute: href + banner: + selector: a[href^="item.php?id="] + attribute: onmouseover + optional: true + filters: + - name: regexp + args: src="(.+?)" + category: + selector: a[href^="/list.php?cat="] + attribute: href + filters: + - name: querystring + args: cat + imdb: + optional: true + selector: a[href*="imdb.com/title/tt"] + attribute: href + seeders: + selector: td:last-child + filters: + - name: regexp + args: "(\\d+) Peers" + leechers: + text: 0 + size: + selector: td:last-child + filters: + - name: regexp + args: "/ (.+? [T|G|M|K]*B)" + - name: replace + args: [".", ""] + - name: replace + args: [",", "."] + date: + selector: td:last-child + filters: + - name: regexp + args: "(\\d{2}\\.\\d{2}\\.\\d{4} \\d{2}:\\d{2}:\\d{2})" + - name: append + args: " +01:00" # CET + - name: dateparse + args: "02.01.2006 15:04:05 -07:00" + downloadvolumefactor: + text: 1 + uploadvolumefactor: + text: 1 + minimumratio: + text: 0.7 + minimumseedtime: + # 2 days (as seconds = 2 x 24 x 60 x 60) + text: 172800 # rules say you must seed but not for how long +# engine n/a