1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-26 17:58:49 +00:00

add u-torrents a private Romanian site. resolves #7626

This commit is contained in:
Garfield69 2020-03-13 06:54:35 +13:00
parent bd250ff971
commit eda0205dcd
2 changed files with 152 additions and 0 deletions

View file

@ -482,6 +482,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* TurkTorrent (TT)
* Twilight Torrents
* Twilights Zoom
* U-Torrents
* U2 (U2分享園@動漫花園)
* UHDBits
* UnionGang

View file

@ -0,0 +1,151 @@
---
site: u-torrents
name: U-Torrents
description: "U-Torrents.ro (UTT) is a ROMANIAN Private Torrent Tracker for 0DAY / GENERAL"
language: ro-ro
type: private
encoding: UTF-8
links:
- https://www.u-torrents.ro/
caps:
categorymappings:
- {id: 300, cat: TV, desc: "Cartoons"}
- {id: 401, cat: PC/0day, desc: "Appz"}
- {id: 42, cat: TV/Documentary, desc: "Documentary"}
- {id: 6, cat: Books, desc: "eBooks"}
- {id: 11, cat: PC/Games, desc: "Games-PC"}
- {id: 19, cat: PC/Phone-Other, desc: "Mobile"}
- {id: 1, cat: Movies, desc: "Movies"}
- {id: 43, cat: Movies/BluRay, desc: "Movies-BluRay"}
- {id: 49, cat: Movies/BluRay, desc: "Movies-BluRay-RO"}
- {id: 7, cat: Movies/DVD, desc: "Movies-DVD"}
- {id: 200, cat: Movies/DVD, desc: "Movies-DVD-RO"}
- {id: 17, cat: Movies/HD, desc: "Movies-HD"}
- {id: 45, cat: Movies/HD, desc: "Movies-HD-RO"}
- {id: 48, cat: Movies/3D, desc: "Movies-3D"}
- {id: 38, cat: Movies, desc: "Movies-Packs"}
- {id: 10, cat: Movies/SD, desc: "Movies-XviD"}
- {id: 44, cat: Movies/SD, desc: "Movies-XviD-RO"}
- {id: 5, cat: Audio/MP3, desc: "Music MP3"}
- {id: 23, cat: Audio/Video, desc: "Music Videos"}
- {id: 22, cat: TV/Sport, desc: "Sport"}
- {id: 20, cat: TV, desc: "TV Episodes"}
- {id: 2, cat: TV/HD, desc: "TV Episodes HD"}
- {id: 403, cat: TV/HD, desc: "TV Episodes RO"}
- {id: 402, cat: TV/HD, desc: "TV Episodes HD-RO"}
- {id: 41, cat: TV, desc: "TV-Packs"}
- {id: 68, cat: XXX, desc: "XXX"}
- {id: 46, cat: XXX/Imageset, desc: "XXX-IMGSet"}
- {id: 18, cat: Other, desc: "Pictures"}
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
settings:
- name: username
type: text
label: Username
- name: password
type: password
label: Password
- name: sort
type: select
label: Sort requested from site
default: "4"
options:
"4": "created"
"7": "seeders"
"5": "size"
"1": "title"
- name: type
type: select
label: Order requested from site
default: "desc"
options:
"desc": "desc"
"asc": "asc"
login:
path: takelogin.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
submitme: X
error:
- selector: div.card-body:contains("incorrect")
test:
path: index.php
selector: a[href^="logout.php?id="]
search:
paths:
- path: browse
inputs:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
sort: "{{ .Config.sort }}"
type: "{{ .Config.type }}"
rows:
selector: table.table > tbody > tr.browse
fields:
category:
selector: a[href^="browse.php?cat="]
attribute: href
filters:
- name: regexp
args: (\d+)$
title_alternate:
selector: a[href^="download.php/"]
attribute: href
filters:
- name: re_replace
args: ["download.php/\\d+/", ""]
- name: replace
args: [".torrent", ""]
- name: urldecode
title:
selector: a[href^="details.php?id="]
filters:
- name: re_replace
args: ["\\[email\\sprotected\\]", "{{ .Result.title_alternate }}"]
details:
selector: a[href^="details.php?id="]
attribute: href
download:
selector: a[href^="download.php/"]
attribute: href
banner:
selector: a[href^="details.php?id="]
attribute: onmouseover
filters:
- name: regexp
args: "src=(.+?) "
date:
selector: td:nth-child(4)
filters:
- name: dateparse
args: "02-01-200615:04:05"
size:
selector: td:nth-child(5)
grabs:
selector: td:nth-child(6)
filters:
- name: regexp
args: (\d+)
seeders:
selector: td:nth-child(7)
leechers:
selector: td:nth-child(8)
downloadvolumefactor:
case:
img[src="imagini/YNTdm1Jn_o.png"]: 0
"*": 1
uploadvolumefactor:
text: 1
# engine n/a