Jackett/src/Jackett.Common/Definitions/bigfangroup.yml

205 lines
7.3 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
site: bigfangroup
name: BigFANGroup
description: "BigFANGroup is a RUSSIAN Public Torrent Tracker for MOVIES / TV"
language: ru-ru
type: public
encoding: windows-1251
links:
- https://bigfangroup.org/
- https://www.freebfg.org/
caps:
categorymappings:
# Movies
- {id: 13, cat: Movies, desc: "Боевик"}
- {id: 18, cat: Movies, desc: "Катастрофа"}
- {id: 19, cat: Movies, desc: "Мелодрама"}
- {id: 21, cat: Movies, desc: "Драма"}
- {id: 22, cat: Movies, desc: "Триллер"}
- {id: 23, cat: Movies, desc: "Фантастика"}
- {id: 24, cat: Movies, desc: "Комедия"}
- {id: 26, cat: Movies, desc: "Ужасы"}
- {id: 27, cat: Movies, desc: "Приключения"}
- {id: 28, cat: Movies, desc: "Исторический"}
- {id: 29, cat: Movies/Foreign, desc: "Наше кино"}
- {id: 30, cat: Movies, desc: "Фэнтази"}
- {id: 31, cat: Movies, desc: "Мистика"}
- {id: 33, cat: Movies, desc: "Военный"}
- {id: 36, cat: Movies, desc: "Криминал"}
- {id: 39, cat: Movies, desc: "Детектив"}
- {id: 47, cat: Movies, desc: "Сказки"}
- {id: 48, cat: Movies, desc: "Вестерн"}
- {id: 52, cat: Movies, desc: "Биография"}
- {id: 53, cat: Movies, desc: "Классика"}
- {id: 14, cat: Movies/HD, desc: "HDTV"}
- {id: 15, cat: Movies/DVD, desc: "DVD"}
- {id: 51, cat: Movies/3D, desc: "3D"}
- {id: 20, cat: Movies, desc: "Мультфильм"}
# Audio
- {id: 35, cat: Audio/Audiobook, desc: "Аудио-книги"}
- {id: 43, cat: Audio/Foreign, desc: "Русская музыка"}
- {id: 44, cat: Audio, desc: "Зарубежная музыка"}
- {id: 45, cat: Audio/Video, desc: "Видеоклипы"}
- {id: 46, cat: Audio, desc: "Муз. сборники"}
- {id: 54, cat: Audio, desc: "Классическая музыка"}
- {id: 55, cat: Audio, desc: "Саундтрек"}
# TV
- {id: 11, cat: TV, desc: "Сериалы"}
- {id: 25, cat: TV, desc: "ТВ-шоу"}
- {id: 37, cat: TV/Sport, desc: "Спорт"}
- {id: 50, cat: TV, desc: "Новости"}
- {id: 49, cat: TV, desc: "Научно-популярное"}
- {id: 32, cat: TV/Documentary, desc: "Документальный"}
- {id: 12, cat: TV, desc: "Анимация"}
# PC
- {id: 1, cat: PC, desc: "Софт"}
- {id: 5, cat: PC/Games, desc: "Игры"}
# Other
- {id: 38, cat: Books, desc: "Книги и журналы"}
- {id: 42, cat: XXX, desc: "Эротика"}
- {id: 9, cat: Other, desc: "Разное"}
modes:
search: [q]
# seems that site does not support season/episode searching
# tv-search: [q, season, ep]
movie-search: [q]
settings:
- name: striprussian
type: checkbox
label: Strip Russian Letters
default: false
- name: sort
type: select
label: Sort requested from site
default: "added"
options:
"added": "created"
"seed": "seeders"
"size": "size"
"name": "title"
- name: type
type: select
label: Order requested from site
default: "desc"
options:
"desc": "desc"
"asc": "asc"
search:
# https://bigfangroup.org/browse.php?search=black+lightning&cat=0&incldead=0&year=0&format=0
#
paths:
- path: browse.php
# cant get season/episode search working on this site
# keywordsfilters:
# - name: diacritics
# args: replace
# - name: re_replace # S01 to Сезон 1
# args: ["(?i)\\bS0*(\\d+)\\b", ", Сезон $1"]
# - name: re_replace # S01E01 to Сезон 1 Серия 1
# args: ["(?i)\\bS0*(\\d+)E0*(\\d+)\\b", ", Сезон $1, Серия $2"]
inputs:
# multi category filters not supported
# $raw: "{{range .Categories}}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
cat: 0
# 0 active 1 incldead 2 onlydead 3 gold 4 noseed 5 silver 7 BFG
incldead: 1
ajax: 1
year: 0
format: 0
s: "{{ .Config.sort }}"
d: "{{ .Config.type }}"
rows:
selector: table > tbody#highlighted > tr:has(a[href^="browse.php?cat="])
fields:
category:
selector: a[href^="browse.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
title:
selector: a[href^="details.php?id="]
filters:
# normalize to SXXEYY format
- name: re_replace
args: ["[\\.\\,\\:\\-\\/\\|]", " "]
- name: re_replace
args: ["(.*)[CСcс]езон\\s+(\\d+).+[CСcс]ери[ия]\\s+(\\d+)\\s+(\\d+)\\s+из\\s+\\d+(.*)", "$1 S$2E$3-$4 rus $5"]
- name: re_replace
args: ["(.*)[CСcс]езон\\s+(\\d+).+[CСcс]ери[ия]\\s+(\\d+)\\s+из\\s+\\d+(.*)", "$1 S$2E$3 rus $4"]
- name: re_replace
args: ["(.*)[CСcс]езон\\s+(\\d+)(.*)", "$1 S$2 rus $3"]
- name: re_replace
args: ["(.*)[CСcс]]ери[ия]\\s+(\\d+)(.*)", "$1 E$2 rus $3"]
- name: re_replace
args: ["(\\([А-Яа-яЁё\\W]+\\))|(^[А-Яа-яЁё\\W\\d]+\\/ )|([а-яА-ЯЁё \\-]+,+)|([а-яА-ЯЁё]+)", "{{ if .Config.striprussian }}{{ else }}$1$2$3$4{{ end }}"]
- name: replace
args: ["WEBRip", "WEBDL"]
- name: replace
args: ["WEB DL", "WEBDL"]
- name: replace
args: ["WEB DLRip", "WEBDL"]
- name: replace
args: ["HDTVRip", "HDTV"]
details:
selector: a[href^="details.php?id="]
attribute: href
download:
selector: a[href^="details.php?id="]
attribute: href
filters:
- name: replace
args: ["details", "download"]
size:
selector: td:nth-child(6)
seeders:
selector: td:nth-child(7)
leechers:
selector: td:nth-child(8)
date:
selector: img[src="pic/time.png"]
attribute: title
filters:
- name: replace
args: [" в ", " "]
- name: replace
args: ["января", "January"]
- name: replace
args: ["февраля", "February"]
- name: replace
args: ["марта ", "March"]
- name: replace
args: ["апреля", "April"]
- name: replace
args: ["мая", "May"]
- name: replace
args: ["июня", "June"]
- name: replace
args: ["июля", "July"]
- name: replace
args: ["августа", "August"]
- name: replace
args: ["сентября", "September"]
- name: replace
args: ["октября", "October"]
- name: replace
args: ["ноября", "November"]
- name: replace
args: ["декабря", "December"]
- name: dateparse
args: "2 January 2006 15:04:05"
downloadvolumefactor:
case:
img[src="pic/freedownload.gif"]: 0
img[src="pic/silverdown.gif"]: 0
"*": 1
uploadvolumefactor:
text: 1