bwtorrents: add freeleech filter #9456

update categories
add minimumratio and minimumseedtime
This commit is contained in:
Garfield69 2020-09-10 19:43:23 +12:00
parent 578dbc473f
commit 5ec871c333
1 changed files with 30 additions and 6 deletions

View File

@ -19,12 +19,14 @@ caps:
- {id: 117, cat: Movies/HD, desc: "Bollywood-720p BluRay Rips"}
- {id: 118, cat: Movies, desc: "Bollywood-Remuxes BluRay"}
- {id: 119, cat: Movies/WEBDL, desc: "Bollywood-Untouched WEB-DLs"}
- {id: 120, cat: Movies/WEBDL, desc: "Bollywood-WEB-Rips"}
- {id: 120, cat: Movies/WEBDL, desc: "Bollywood-1080p WEB-Rips"}
- {id: 188, cat: Movies/WEBDL, desc: "Bollywood-720p WEB-Rips"}
- {id: 121, cat: Movies/DVD, desc: "Bollywood-Untouched DVDs"}
- {id: 122, cat: Movies/WEBDL, desc: "Bollywood-Upscaled DVDRips"}
- {id: 123, cat: Movies/WEBDL, desc: "Bollywood-DVDRips"}
- {id: 122, cat: Movies/WEBDL, desc: "Bollywood-DVDRips 1080p/720p"}
- {id: 123, cat: Movies/WEBDL, desc: "Bollywood-SDRips WEB/DVD"}
- {id: 124, cat: Movies/3D, desc: "Bollywood-3D-Movies"}
- {id: 125, cat: Movies/WEBDL, desc: "Bollywood-WEB Series"}
- {id: 190, cat: Movies, desc: "Bollywood-Movies packs"}
- {id: 125, cat: Movies/WEBDL, desc: "Bollywood-WEB Originals"}
- {id: 126, cat: Movies/UHD, desc: "Hollywood-4K Ultra HD / Upscaled"}
- {id: 127, cat: Movies/BluRay, desc: "Hollywood-Untouched BluRay"}
- {id: 128, cat: Movies/HD, desc: "Hollywood-1080p BluRay Rips"}
@ -33,9 +35,11 @@ caps:
- {id: 131, cat: Movies/WEBDL, desc: "Hollywood-Untouched WEB-DLs"}
- {id: 132, cat: Movies, desc: "Hollywood-WEB-Rips"}
- {id: 133, cat: Movies/DVD, desc: "Hollywood-Untouched DVDs"}
- {id: 134, cat: Movies/WEBDL, desc: "Hollywood-DVDRips"}
- {id: 191, cat: Movies/WEBDL, desc: "Hollywood-Encoded DVDs"}
- {id: 134, cat: Movies/WEBDL, desc: "Hollywood-DVDRips 1080p/720p"}
- {id: 135, cat: Movies/3D, desc: "Hollywood-3D-Movies"}
- {id: 136, cat: Movies, desc: "Hollywood-Pre-Release"}
- {id: 194, cat: Movies, desc: "Hollywood-Movies packs"}
- {id: 137, cat: Movies, desc: "Malayalam-Movies"}
- {id: 138, cat: Movies, desc: "Telugu-Movies"}
- {id: 139, cat: Movies, desc: "Tamil-Movies"}
@ -62,6 +66,7 @@ caps:
- {id: 156, cat: TV/Documentary, desc: "TV-Documentary"}
- {id: 157, cat: TV, desc: "TV-Hollywood"}
- {id: 158, cat: TV, desc: "TV-Others"}
- {id: 195, cat: TV, desc: "TV-Packs"}
- {id: 159, cat: TV, desc: "Religion &Spirituality "}
- {id: 160, cat: Audio, desc: "Music-Classical"}
- {id: 161, cat: Audio/Lossless, desc: "Music-Flacs"}
@ -78,6 +83,7 @@ caps:
- {id: 172, cat: Audio, desc: "Music-Remix"}
- {id: 173, cat: Audio, desc: "Music-Tamil"}
- {id: 174, cat: Audio, desc: "Music-Telugu"}
- {id: 196, cat: Audio, desc: "Music-Packs"}
- {id: 175, cat: Books/Ebook, desc: "EBooks"}
- {id: 176, cat: PC/Games, desc: "Games PC"}
- {id: 177, cat: Console, desc: "Games Console"}
@ -85,6 +91,7 @@ caps:
- {id: 179, cat: PC, desc: "Appz"}
- {id: 180, cat: PC/Phone-Other, desc: "Mobile Stuff"}
- {id: 181, cat: Other, desc: "Pics/Wallpapers"}
- {id: 187, cat: XXX, desc: "Adult XXX 18+"}
modes:
search: [q]
@ -92,6 +99,18 @@ caps:
movie-search: [q]
music-search: [q]
settings:
- name: username
type: text
label: Username
- name: password
type: password
label: Password
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
login:
path: takelogin.php
method: post
@ -112,7 +131,7 @@ search:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
# 1 all, 2 onlydead, 3 free
incldead: 1
incldead: "{{ if .Config.freeleech }}3{{ else }}1{{ end }}"
# 0 name, 1 descr, 2 both
blah: 0
# does not support imdbid searches and does not have imdb links in results.
@ -158,4 +177,9 @@ search:
case:
img[src="pic/double_upload.png"]: 2
"*": 1
minimumratio:
text: 1.0
minimumseedtime:
# 3 day (as seconds = 3 x 24 x 60 x 60)
text: 259200
# AEON