Jackett/src/Jackett.Common/Definitions/torrenting.yml

96 lines
2.7 KiB
YAML
Raw Normal View History

2017-01-06 16:07:52 +00:00
---
site: torrenting
name: Torrenting
description: "Torrenting (TT) is a Private site for MOVIES / TV / GENERAL"
2017-01-06 16:07:52 +00:00
language: en-us
type: private
2017-01-06 16:07:52 +00:00
encoding: windows-1252
links:
- https://torrenting.com/
2017-01-06 16:07:52 +00:00
caps:
2017-03-07 12:46:22 +00:00
categorymappings:
- {id: 1, cat: Movies, desc: "Movies"}
- {id: 2, cat: Movies/DVD, desc: "Movies/DVD-R"}
- {id: 3, cat: Movies/BluRay, desc: "BluRay Movies"}
- {id: 4, cat: TV/SD, desc: "TV/SD-x264"}
- {id: 5, cat: TV/HD, desc: "TV/X264 HD"}
- {id: 11, cat: Movies/HD, desc: "Movies/HD"}
- {id: 18, cat: TV, desc: "TV/Packs"}
- {id: 21, cat: Console, desc: "Games/Consoles"}
- {id: 26, cat: Audio/Video, desc: "Music/Videos"}
- {id: 27, cat: Audio, desc: "Music/Audio"}
- {id: 29, cat: TV/Anime, desc: "Anime/Toons"}
- {id: 30, cat: Books, desc: "Books"}
- {id: 34, cat: PC/0day, desc: "Applications/0-day"}
- {id: 35, cat: PC/Games, desc: "Games/PC"}
- {id: 40, cat: XXX, desc: "XXX"}
- {id: 47, cat: Movies, desc: "Movies/Packs"}
- {id: 49, cat: Movies/HD, desc: "x265 (HEVC)"}
2017-01-06 16:07:52 +00:00
modes:
search: [q]
2018-05-13 16:06:50 +00:00
tv-search: [q, season, ep, imdbid]
movie-search: [q, imdbid]
2017-01-06 16:07:52 +00:00
login:
path: login.php
method: form
form: form[action="secure.php"]
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: td.embedded:has(h2:contains("failed"))
test:
2018-05-13 16:06:50 +00:00
path: t
2017-01-06 16:07:52 +00:00
search:
paths:
2018-05-13 16:06:50 +00:00
- path: t
2017-01-06 16:07:52 +00:00
inputs:
2018-05-13 16:06:50 +00:00
$raw: "{{range .Categories}}{{.}}=&{{end}}"
q: "{{if .Query.IMDBID}}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
2017-01-06 16:07:52 +00:00
incldead: 1
rows:
2018-08-25 16:45:58 +00:00
selector: table#torrentsTable > tbody > tr:has(td.torrentNameInfo)
2017-01-06 16:07:52 +00:00
fields:
download:
2018-05-13 16:06:50 +00:00
selector: a[href^="/download.php/"]
2017-01-06 16:07:52 +00:00
attribute: href
title:
2018-05-13 16:06:50 +00:00
selector: a[href^="/details.php?id="]
2017-01-06 16:07:52 +00:00
details:
2018-05-13 16:06:50 +00:00
selector: a[href^="/details.php?id="]
2017-01-06 16:07:52 +00:00
attribute: href
category:
2018-05-13 16:06:50 +00:00
selector: a[href^="?"]
2017-01-06 16:07:52 +00:00
attribute: href
filters:
2018-05-13 16:06:50 +00:00
- name: replace
args: ["?", ""]
2017-01-06 16:07:52 +00:00
date:
2018-05-13 16:06:50 +00:00
selector: td.torrentNameInfo > div
filters:
- name: re_replace
args: [" by.*", ""]
2018-05-13 16:06:50 +00:00
- name: split
args: ["|", -1]
2017-01-06 16:07:52 +00:00
seeders:
2017-03-24 08:41:45 +00:00
selector: td:nth-last-child(2)
2017-01-06 16:07:52 +00:00
leechers:
2017-03-24 08:41:45 +00:00
selector: td:nth-last-child(1)
2017-01-06 16:07:52 +00:00
size:
2017-03-24 08:41:45 +00:00
selector: td:nth-last-child(3)
2017-01-06 16:07:52 +00:00
downloadvolumefactor:
text: "1"
downloadvolumefactor:
case:
"span:contains(\"FreeLeech\")": "0"
2017-01-06 16:07:52 +00:00
"*": "1"
uploadvolumefactor:
case:
"*": "1"