-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add woot a private German site resolves #9828
- Loading branch information
1 parent
731ede5
commit 84e7a1d
Showing
2 changed files
with
144 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |