1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-30 11:47:28 +00:00

add CrnaBerza a SERBIAN Private Tracker. resolves #4644

This commit is contained in:
Garfield69 2019-02-13 22:59:26 +13:00
parent bc605a8146
commit e5d2994174
2 changed files with 160 additions and 0 deletions

View file

@ -166,6 +166,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* Cinematik
* CinemaZ (EuTorrents)
* Classix
* CrnaBerza
* DanishBits (DB)
* DataScene (DS)
* DesiTorrents

View file

@ -0,0 +1,159 @@
---
site: crnaberza
name: CrnaBerza
description: "Crna Berza is a SERBIAN Private Torrent Tracker for MOVIES / TV / GENERAL"
language: sr-sp
type: private
encoding: UTF-8
links:
- http://www.crnaberza.com/
caps:
categorymappings:
- {id: 65, cat: Movies/3D, desc: "3D Film"}
- {id: 37, cat: Movies, desc: "Deca"}
- {id: 43, cat: TV/Documentary, desc: "Dokumentarci"}
- {id: 52, cat: Movies/DVD, desc: "Film/DVD Domaće"}
- {id: 20, cat: Movies/DVD, desc: "Film/DVD Strano"}
- {id: 73, cat: Movies/HD, desc: "Film/HD Domaće"}
- {id: 48, cat: Movies/HD, desc: "Film/HD Strano"}
- {id: 29, cat: Movies/SD, desc: "Film/SD Domaće"}
- {id: 54, cat: Movies/SD, desc: "Film/SD Strano"}
- {id: 64, cat: Movies/HD, desc: "HD Boxset"}
- {id: 61, cat: Movies/HD, desc: "HD Mesano"}
- {id: 50, cat: PC/Games, desc: "Igre"}
- {id: 44, cat: Books, desc: "Knjige"}
- {id: 46, cat: Audio, desc: "Koncerti"}
- {id: 58, cat: Audio/Lossless, desc: "Lossless/Domaće"}
- {id: 59, cat: Audio/Lossless, desc: "Lossless/Strano"}
- {id: 5, cat: Audio/MP3, desc: "MP3/Domaće"}
- {id: 57, cat: Audio/MP3, desc: "MP3/Strano"}
- {id: 49, cat: PC, desc: "Programi"}
- {id: 28, cat: Other, desc: "Razno"}
- {id: 62, cat: TV/SD, desc: "SD Boxset"}
- {id: 38, cat: TV/Sport, desc: "Sport"}
- {id: 39, cat: Audio/Video, desc: "Spotovi DVD"}
- {id: 45, cat: Books/Comics, desc: "Stripovi"}
- {id: 75, cat: TV/HD, desc: "TV/HD Domaće"}
- {id: 77, cat: TV/HD, desc: "TV/HD Strano"}
- {id: 78, cat: TV/Other, desc: "TV/ostalo"}
- {id: 30, cat: TV/SD, desc: "TV/SD Domaće"}
- {id: 34, cat: TV/SD, desc: "TV/SD Strano"}
- {id: 60, cat: XXX, desc: "XXX/Domace"}
- {id: 63, cat: XXX, desc: "XXX/Strano"}
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: incldead
type: select
label: "Search Torrents that are:"
default: "0"
options:
"0" : "Active"
"1": "Including Dead"
"2": "Only Dead"
- name: info
type: info
label: Results Per Page
default: For best results, change the 'Torrents per page' setting to 100 on your 'Personal Options' from the 'Personal' menu on the Crna Berza webpage.
login:
path: login.php
method: form
form: form[action="takelogin.php"]
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
submitme: "X"
error:
- selector: h2
message:
selector: table tr td.text
test:
path: browse.php
selector: a[href$="/logout.php"]
ratio:
path: browse.php
selector: div div font:contains("Ratio:")
filters:
- name: regexp
args: "Ratio:\\s(.*?)\\s\\s"
search:
paths:
# http://www.crnaberza.com/browse.php?c52=1&c20=1&c73=1&c48=1&c29=1&c75=1&c77=1&c78=1&c30=1&c34=1&incldead=1&search=star+trek
- path: browse.php
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
searchin: "title"
incldead: "{{ .Config.incldead }}"
rows:
selector: tr:has(td.trowtorrent)
fields:
category:
selector: td:nth-of-type(1) a
attribute: href
filters:
- name: regexp
args: "[-](\\d{1,2})$"
title:
selector: td:nth-of-type(2) a
details:
selector: td:nth-of-type(2) a
attribute: href
download:
selector: td:nth-of-type(3) a
attribute: href
files:
selector: td:nth-of-type(4)
date:
# Danas<br>08:10 AM
optional: true
selector: td:nth-of-type(6):contains("Danas")
filters:
- name: replace
args: ["Danas", "Today"]
date:
# Juče<br>06:44 PM
optional: true
selector: td:nth-of-type(6):contains("Juče")
filters:
- name: replace
args: ["Juče", "Yesterday"]
date:
# Feb 14 2019<br>10:20 AM
optional: true
selector: td:nth-of-type(6):not(:contains("Juče")):not(:contains("Danas"))
filters:
- name: dateparse
args: "Jan 2 2006 03:04 PM"
size:
selector: td:nth-of-type(7)
grabs:
selector: td:nth-of-type(8) a
filters:
- name: regexp
args: "([\\d]+)"
seeders:
selector: td:nth-of-type(9)
leechers:
selector: td:nth-of-type(10)
downloadvolumefactor:
case:
"img[src$=\"/pic/freedownload.gif\"]": "0"
"*": "1"
uploadvolumefactor:
text: "1"