2020-03-03 16:28:26 +00:00
|
|
|
---
|
2020-05-11 19:59:28 +00:00
|
|
|
id: crnaberza
|
2020-05-10 20:05:19 +00:00
|
|
|
name: CrnaBerza
|
|
|
|
description: "Crna Berza is a BALKAN Private Torrent Tracker for MOVIES / TV / GENERAL"
|
|
|
|
language: sr-sp
|
|
|
|
type: private
|
|
|
|
encoding: UTF-8
|
|
|
|
links:
|
|
|
|
- http://www.crnaberza.com/
|
2019-02-13 09:59:26 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
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"}
|
2019-02-13 09:59:26 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
modes:
|
|
|
|
search: [q]
|
|
|
|
tv-search: [q, season, ep]
|
|
|
|
movie-search: [q]
|
|
|
|
music-search: [q]
|
2019-02-13 09:59:26 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
settings:
|
|
|
|
- name: username
|
|
|
|
type: text
|
|
|
|
label: Username
|
|
|
|
- name: password
|
|
|
|
type: password
|
|
|
|
label: Password
|
|
|
|
- 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.
|
|
|
|
- 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"
|
2019-02-13 09:59:26 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
login:
|
|
|
|
path: login.php
|
|
|
|
method: form
|
|
|
|
form: form[action="takelogin.php"]
|
|
|
|
inputs:
|
|
|
|
username: "{{ .Config.username }}"
|
|
|
|
password: "{{ .Config.password }}"
|
|
|
|
error:
|
|
|
|
- selector: h2
|
|
|
|
message:
|
|
|
|
selector: table tr td.text
|
|
|
|
test:
|
2019-02-13 09:59:26 +00:00
|
|
|
path: browse.php
|
2020-05-10 20:05:19 +00:00
|
|
|
selector: a[href$="/logout.php"]
|
|
|
|
|
|
|
|
ratio:
|
|
|
|
path: browse.php
|
|
|
|
selector: div div font:contains("Ratio:")
|
|
|
|
filters:
|
|
|
|
- name: regexp
|
|
|
|
args: "Ratio:\\s(.*?)\\s\\s"
|
2019-02-13 09:59:26 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
search:
|
|
|
|
paths:
|
2020-05-12 23:07:31 +00:00
|
|
|
# http://www.crnaberza.com/browse.php?c52=1&c20=1&c34=1&incldead=1&search=star+trek
|
2020-05-10 20:05:19 +00:00
|
|
|
- path: browse.php
|
|
|
|
inputs:
|
|
|
|
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
|
|
|
search: "{{ .Keywords }}"
|
|
|
|
# 0 title 1 descr 2 both
|
|
|
|
blah: 0
|
|
|
|
# 0 active 1 incldead 2 onlydead
|
|
|
|
incldead: 1
|
|
|
|
sort: "{{ .Config.sort }}"
|
|
|
|
type: "{{ .Config.type }}"
|
|
|
|
# does not support searching imdbid and does not return imdb links
|
2019-02-13 09:59:26 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
rows:
|
|
|
|
selector: tr:has(td.trowtorrent)
|
2020-01-16 20:27:12 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
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
|
|
|
|
# Juče<br>06:44 PM
|
|
|
|
optional: true
|
|
|
|
selector: td:nth-of-type(6):contains("Danas"), td:nth-of-type(6):contains("Juče")
|
|
|
|
filters:
|
|
|
|
- name: replace
|
|
|
|
args: ["Danas", "Today"]
|
|
|
|
- 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
|
2020-01-16 20:27:12 +00:00
|
|
|
# U-232
|