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:
|
2020-05-13 06:44:51 +00:00
|
|
|
- https://www.crnaberza.com/
|
|
|
|
legacylinks:
|
2020-05-10 20:05:19 +00:00
|
|
|
- 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.
|
2020-09-11 02:31:26 +00:00
|
|
|
- name: freeleech
|
|
|
|
type: checkbox
|
2020-09-11 06:25:36 +00:00
|
|
|
label: Filter freeleech only
|
2020-09-11 02:31:26 +00:00
|
|
|
default: false
|
2020-05-10 20:05:19 +00:00
|
|
|
- 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 }}"
|
2020-05-13 06:44:51 +00:00
|
|
|
remember: 1
|
|
|
|
returnto: /
|
2020-05-10 20:05:19 +00:00
|
|
|
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"]
|
|
|
|
|
|
|
|
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 }}"
|
2020-09-11 02:31:26 +00:00
|
|
|
# 0 title, 1 descr, 2 both
|
2020-05-10 20:05:19 +00:00
|
|
|
blah: 0
|
2020-09-11 02:31:26 +00:00
|
|
|
# 0 active, 1 incldead, 2 onlydead
|
2020-05-10 20:05:19 +00:00
|
|
|
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:
|
2020-09-11 02:31:26 +00:00
|
|
|
selector: "tr:has(td.trowtorrent){{ if .Config.freeleech }}:has(img[src$=\"/pic/freedownload.gif\"]){{ else }}{{ end }}"
|
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"]
|
2020-10-01 05:27:28 +00:00
|
|
|
- name: append
|
|
|
|
args: " +00:00" # auto adjusted by site account profile
|
2020-05-10 20:05:19 +00:00
|
|
|
date:
|
|
|
|
# Feb 14 2019<br>10:20 AM
|
|
|
|
optional: true
|
|
|
|
selector: td:nth-of-type(6):not(:contains("Juče")):not(:contains("Danas"))
|
|
|
|
filters:
|
2020-10-01 05:27:28 +00:00
|
|
|
- name: append
|
|
|
|
args: " +00:00" # auto adjusted by site account profile
|
2020-05-10 20:05:19 +00:00
|
|
|
- name: dateparse
|
2020-10-01 05:27:28 +00:00
|
|
|
args: "Jan 2 2006 03:04 PM -07:00"
|
2020-05-10 20:05:19 +00:00
|
|
|
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-09-11 02:31:26 +00:00
|
|
|
minimumratio:
|
|
|
|
text: 1.0
|
|
|
|
minimumseedtime:
|
|
|
|
# 7 day (as seconds = 7 x 24 x 60 x 60)
|
|
|
|
text: 604800
|
2020-01-16 20:27:12 +00:00
|
|
|
# U-232
|