mirror of https://github.com/Jackett/Jackett
142 lines
4.3 KiB
YAML
142 lines
4.3 KiB
YAML
---
|
|
site: 3evils
|
|
name: 3evils
|
|
description: "3evils is a Private Torrent Tracker for MOVIES / TV / GENERAL"
|
|
language: en
|
|
type: private
|
|
encoding: UTF-8
|
|
links:
|
|
- https://www.3evils.com/
|
|
|
|
caps:
|
|
categorymappings:
|
|
- {id: 65, cat: Books, desc: "Books"}
|
|
- {id: 27, cat: Console/NDS, desc: "Games/Nintendo-DS"}
|
|
- {id: 28, cat: Console/Other, desc: "Games/Switch"}
|
|
- {id: 42, cat: PC/Phone-Android, desc: "Mobile/Android"}
|
|
- {id: 44, cat: Movies/UHD, desc: "Movies/4K"}
|
|
- {id: 13, cat: Movies/BluRay, desc: "Movies/Bluray"}
|
|
- {id: 12, cat: Movies/DVD, desc: "Movies/DVD-R"}
|
|
- {id: 14, cat: Movies, desc: "Movies/Packs"}
|
|
- {id: 67, cat: Movies/HD, desc: "Movies/x264"}
|
|
- {id: 55, cat: Movies/HD, desc: "Movies/X265"}
|
|
- {id: 45, cat: Movies, desc: "Movies/Remux"}
|
|
- {id: 62, cat: Audio, desc: "Music/Audio"}
|
|
- {id: 32, cat: Audio, desc: "Music/Packs"}
|
|
- {id: 6, cat: TV, desc: "TV/Packs"}
|
|
- {id: 3, cat: TV/HD, desc: "TV/x264"}
|
|
- {id: 4, cat: TV/HD, desc: "TV/x265"}
|
|
- {id: 8, cat: TV/SD, desc: "TV/Xvid"}
|
|
- {id: 63, cat: PC/0day, desc: "Windows/Applications"}
|
|
|
|
modes:
|
|
search: [q]
|
|
tv-search: [q, season, ep]
|
|
movie-search: [q]
|
|
|
|
login:
|
|
path: login.php
|
|
method: form
|
|
form: form[action="takelogin.php"]
|
|
inputs:
|
|
username: "{{ .Config.username }}"
|
|
password: "{{ .Config.password }}"
|
|
returnto: "/browse.php"
|
|
error:
|
|
- selector: h2:contains("Login failed!")
|
|
message:
|
|
selector: table tr td.colhead2
|
|
test:
|
|
path: /
|
|
selector: :has(a[href$="/logout.php?hash_please="])
|
|
|
|
search:
|
|
paths:
|
|
# ttps://www.3evils.com/browse.php?search=black+lightning+s02e11&searchin=title&incldead=1
|
|
# https://www.3evils.com/browse.php?c3=1&c4=1&search=&searchin=title&incldead=0
|
|
- path: browse.php
|
|
inputs:
|
|
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
|
|
search: "{{.Keywords}}"
|
|
searchin: "title"
|
|
incldead: 1
|
|
rows:
|
|
selector: table.table-bordered tr:has(a[href^="browse.php?cat="])
|
|
filters:
|
|
- name: andmatch
|
|
fields:
|
|
title:
|
|
selector: a[href^="details.php?id="] b
|
|
title:
|
|
# if this is available it is the full length title, as the one above can be abbreviated with ...
|
|
optional: true
|
|
selector: a[href^="details.php?id="][onmouseover]
|
|
attribute: onmouseover
|
|
filters:
|
|
- name: regexp
|
|
args: "Tip\\('<b>(.*?)</b>"
|
|
details:
|
|
selector: a[href^="details.php?id="]
|
|
attribute: href
|
|
category:
|
|
selector: a[href^="browse.php?cat="]
|
|
attribute: href
|
|
filters:
|
|
- name: querystring
|
|
args: cat
|
|
download:
|
|
selector: a[href^="details.php?id="]
|
|
attribute: href
|
|
filters:
|
|
- name: replace
|
|
args: ["details.php?id=", "download.php?torrent="]
|
|
banner:
|
|
selector: a[href^="details.php?id="][onmouseover]
|
|
attribute: onmouseover
|
|
filters:
|
|
# onmouseover="Tip('<b>blahblah /><img src=\'/imdb/images/0090293.jpg\' blahblah />');"
|
|
- name: regexp
|
|
args: "/imdb/(.*?).jpg"
|
|
- name: prepend
|
|
args: "/imdb/"
|
|
- name: append
|
|
args: ".jpg"
|
|
size:
|
|
selector: td:nth-last-child(4)
|
|
files:
|
|
selector: a[href^="filelist.php?id="]
|
|
grabs:
|
|
selector: a[href^="snatches.php?id="]
|
|
filters:
|
|
- name: regexp
|
|
args: "(\\d+)"
|
|
# 2 flavours of dates
|
|
date:
|
|
# Today<br /> 10:20 AM
|
|
# Yesterday<br /> 08:03 PM
|
|
optional: true
|
|
selector: td:nth-last-child(5):contains("day")
|
|
date:
|
|
# Feb 14 2019<br /> 10:20 AM
|
|
optional: true
|
|
selector: td:nth-last-child(5):not(:contains("day"))
|
|
filters:
|
|
- name: dateparse
|
|
args: "Jan 2 2006 03:04 pm"
|
|
seeders:
|
|
text: "0"
|
|
seeders:
|
|
optional: true
|
|
selector: a[href$="#seeders"]
|
|
leechers:
|
|
text: "0"
|
|
leechers:
|
|
optional: true
|
|
selector: a[href$="#leechers"]
|
|
downloadvolumefactor:
|
|
case:
|
|
"b:contains(\"[FREE]\")": "0"
|
|
"*": "1"
|
|
uploadvolumefactor:
|
|
case:
|
|
"*": "1" |