rotorrent: add Romanian private tracker. resolves #15175 (#15176)

This commit is contained in:
ilike2burnthing 2024-03-22 03:20:31 +00:00 committed by GitHub
parent 8ba0b4913b
commit 19956e2944
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 166 additions and 0 deletions

View File

@ -515,6 +515,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht
* RevolutionTT
* RM-HD
* Romanian Metal Torrents (RMT)
* RoTorrent
* Rousi
* RPTScene (RPTorrents)
* SATClubbing

View File

@ -0,0 +1,165 @@
---
id: rotorrent
name: RoTorrent
description: "RoTorrent is a ROMANIAN Private Torrent Tracker for MOVIES / TV / GENERAL"
language: ro-RO
type: private
encoding: UTF-8
links:
- https://rotorrent.ro/
caps:
categorymappings:
- {id: 18, cat: PC/0day, desc: "Apps: PC"}
- {id: 55, cat: TV/Documentary, desc: "Docs: Docs"}
- {id: 10, cat: PC/Games, desc: "Games: PC"}
- {id: 53, cat: Other, desc: "Miscellaneous: Miscellaneous"}
- {id: 58, cat: Movies/BluRay, desc: "Movies: 4K Blu-Ray"}
- {id: 2, cat: Movies/SD, desc: "Movies: Divx/Xvid"}
- {id: 52, cat: Movies/SD, desc: "Movies: Cam/TS/TC"}
- {id: 54, cat: Movies/UHD, desc: "Movies: 4K"}
- {id: 59, cat: Movies/BluRay, desc: "Movies: Blu-Ray"}
- {id: 60, cat: Movies/HD, desc: "Movies: HD"}
- {id: 62, cat: Movies/WEB-DL, desc: "Movies: WebDL/RIP"}
- {id: 64, cat: Movies/DVD, desc: "Movies: DVD"}
- {id: 65, cat: XXX, desc: "Movies: XXX"}
- {id: 66, cat: TV/Anime, desc: "Movies: Anime"}
- {id: 22, cat: Audio/MP3, desc: "Music: MP3"}
- {id: 63, cat: Audio/Lossless, desc: "Music: FLAC"}
- {id: 6, cat: TV, desc: "TV: TV Shows"}
modes:
search: [q]
tv-search: [q, season, ep, imdbid, tmdbid, genre]
movie-search: [q, imdbid, tmdbid, genre]
music-search: [q, genre]
settings:
- name: username
type: text
label: Username
- name: password
type: password
label: Password
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
- name: sort
type: select
label: Sort requested from site
default: id
options:
id: created
seeders: seeders
size: size
name: title
- name: type
type: select
label: Order requested from site
default: desc
options:
desc: desc
asc: asc
login:
path: account-login.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: "div[style^=\"color: red;\"]"
test:
path: index.php
selector: a[href="account-logout.php"]
search:
paths:
- path: torrents-search.php
inputs:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ if or .Query.IMDBID .Query.TMDBID }}{{ or .Query.IMDBID .Query.TMDBID }} {{ else }}{{ end }}{{ if .Query.Genre }}{{ .Query.Genre }} {{ else }}{{ end }}{{ .Keywords }}"
# 0 active, 1 incldead, 2 onlydead
incldead: 1
# 0 all, 1 nofree, 2 onlyfree
freeleech: "{{ if .Config.freeleech }}2{{ else }}0{{ end }}"
# 0 both, 1 local, 2 external
inclexternal: 0
# 0 all, 1 romanian, 2 english, 3 english and romanian
inclrosub: 0
sort: "{{ .Config.sort }}"
order: "{{ .Config.type }}"
rows:
selector: table.ttable_headinner > tbody > tr
fields:
category:
selector: a[href*="cat="]
attribute: href
filters:
- name: querystring
args: cat
title:
selector: a[href^="torrents-details.php?id="] b
details:
selector: a[href^="torrents-details.php?id="]
attribute: href
filters:
- name: replace
args: ["&hit=1", ""] # avoid redirect
download:
text: "{{ .Result.details }}"
filters:
- name: replace
args: ["torrents-details", "download"]
poster:
selector: a[href^="torrents-details.php?id="]
attribute: onmouseover
filters:
- name: regexp
args: src=(.+?)></td>
date:
selector: td:nth-child(8)
filters:
- name: timeago
size:
selector: td:nth-child(3)
grabs:
selector: td:nth-child(7)
seeders:
selector: td:nth-child(5)
leechers:
selector: td:nth-child(6)
genre:
selector: a[href^="torrents-details.php?id="] font div.newt
filters:
- name: re_replace
args: ["(?i)(Cult Classic)", "Cult_Classic"]
- name: re_replace
args: ["(?i)(Science Fiction)", "Science_Fiction"]
- name: re_replace
args: ["(?i)(TV Movie)", "TV_Movie"]
description_subs:
optional: true
case:
img[src$="languages/unitestates.gif"]: Eng
img[src$="languages/romania.gif"]: Ro
img[src$="languages/roeng.gif"]: "Ro & Eng"
description:
text: "{{ if .Result.description_subs }}Subtitles: {{ .Result.description_subs }}</br>{{ else }}{{ end }}Genres: {{ .Result.genre }}"
downloadvolumefactor:
case:
img[src="images/free.png"]: 0
"*": 1
uploadvolumefactor:
case:
img[src="images/doubleupload.gif"]: 2
"*": 1
minimumratio:
text: 1.0
minimumseedtime:
# 4 days (as seconds = 4 x 24 x 60 x 60)
text: 345600
# TorrentTrader 3.0 Micro Edition