mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00

fixes breaking c&p typo in 24a36bc939
revert to 2 searches, but change to homepage (I completely misread the paths before, and the rows and selectors should have been edited anyway)
category can be missing on homepage (or any of the category pages)
133 lines
4.8 KiB
YAML
133 lines
4.8 KiB
YAML
---
|
|
id: firebit
|
|
name: FireBit
|
|
description: "FireBit is an UKRAINIAN / RUSSIAN Public Torrent Tracker for MOVIES / TV / GENERAL"
|
|
language: ru-RU
|
|
type: public
|
|
encoding: UTF-8
|
|
requestDelay: 2
|
|
links:
|
|
- https://firebit.net/
|
|
legacylinks:
|
|
- https://firebit.name/
|
|
- https://firebit.biz/
|
|
- http://firebit.net/
|
|
- http://firebit.info/
|
|
- http://firebit.name/
|
|
- http://firebit.pro/
|
|
- http://firebit.club/
|
|
- http://firebit.biz/
|
|
- https://firebit.pro/
|
|
- https://firebit.club/
|
|
- https://firebit.info/
|
|
|
|
caps:
|
|
categorymappings:
|
|
- {id: "Мультфильмы", cat: TV/Anime, desc: "Мультфильмы"}
|
|
- {id: "Программы", cat: PC, desc: "Программы"}
|
|
- {id: "Программы Видео", cat: PC, desc: "Программы Видео"}
|
|
- {id: "Программы FAQ", cat: PC, desc: "Программы FAQ"}
|
|
- {id: "Программы Web Оформление", cat: PC, desc: "Программы Web Оформление"}
|
|
- {id: "Linux", cat: PC, desc: "Linux"}
|
|
- {id: "Мобилка", cat: PC/Mobile-Other, desc: "Мобилка"}
|
|
- {id: "Мобилка Игры", cat: PC/Mobile-Other, desc: "Мобилка Игры"}
|
|
- {id: "Литература", cat: Books, desc: "Литература"}
|
|
- {id: "Игры", cat: PC/Games, desc: "Игры"}
|
|
- {id: "Игры Мобилка", cat: PC/Games, desc: "Игры Мобилка"}
|
|
- {id: "Фильмы", cat: Movies, desc: "Фильмы"}
|
|
- {id: "Фильмы Видео", cat: Movies, desc: "Фильмы Видео"}
|
|
- {id: "Фильмы Сериалы", cat: Movies, desc: "Фильмы Сериалы"}
|
|
- {id: "Фильмы Скоро на трекере", cat: Movies, desc: "Фильмы Скоро на трекере"}
|
|
- {id: "Видео", cat: Movies, desc: "Видео"}
|
|
- {id: "Музыка", cat: Audio, desc: "Музыка"}
|
|
- {id: "Музыка Фильмы", cat: Audio, desc: "Музыка Фильмы"}
|
|
- {id: "Видео Музыка", cat: Audio/Video, desc: "Видео Музыка"}
|
|
- {id: "Фильмы Музыка Видео", cat: Audio/Video, desc: "Фильмы Музыка Видео"}
|
|
- {id: "Музыка Видео", cat: Audio/Video, desc: "Музыка Видео"}
|
|
- {id: "Другие категории", cat: Other, desc: "Другие категории"}
|
|
- {id: "Сериалы", cat: TV, desc: "Сериалы"}
|
|
- {id: "18+", cat: TV, desc: "18+"}
|
|
- {id: "-", cat: Other, desc: "Другие категории"}
|
|
|
|
modes:
|
|
search: [q]
|
|
tv-search: [q, season, ep]
|
|
movie-search: [q]
|
|
music-search: [q]
|
|
book-search: [q]
|
|
|
|
settings: []
|
|
|
|
download:
|
|
selectors:
|
|
- selector: a[href^="/download.php?id="]
|
|
attribute: href
|
|
|
|
search:
|
|
# http://firebit.net/index.php?do=search&type=simple&q=2022
|
|
paths:
|
|
- path: "{{ if .Keywords }}index.php?do=search&type=simple&q={{ .Keywords }}{{ else }}{{ end }}"
|
|
- path: "{{ if .Keywords }}index.php?do=search&type=simple&q={{ .Keywords }}&cstart=2{{ else }}%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D0%B0/2/{{ end }}"
|
|
|
|
rows:
|
|
selector: "{{ if .Keywords }}table.torrents tbody tr:has(td.td-size){{ else }}div[id^=\"post-id-\"]:has(li.meta-size){{ end }}"
|
|
filters:
|
|
- name: andmatch
|
|
|
|
fields:
|
|
category:
|
|
text: "-"
|
|
category|noappend:
|
|
optional: true
|
|
selector: td:nth-child(1), div.article-indent div b
|
|
filters:
|
|
- name: replace
|
|
args: ["Новинки", ""]
|
|
- name: re_replace
|
|
args: [",", ""]
|
|
- name: trim
|
|
title:
|
|
selector: td:nth-child(2), span.article-title
|
|
details:
|
|
selector: td:nth-child(2) a, span.article-title a
|
|
attribute: href
|
|
download:
|
|
selector: td:nth-child(2) a, span.article-title a
|
|
attribute: href
|
|
size:
|
|
selector: td.td-size, li.meta-size
|
|
filters:
|
|
- name: replace
|
|
args: ["-", "0 B"]
|
|
date_day:
|
|
# Вчера, 08:01:41
|
|
# 2 дня назад, 19:33:51
|
|
selector: td:nth-child(5):contains(","), li.meta-date:contains(",")
|
|
optional: true
|
|
filters:
|
|
- name: replace
|
|
args: ["Вчера,", "Yesterday"]
|
|
- name: replace
|
|
args: ["дня назад,", "days"]
|
|
- name: fuzzytime
|
|
date_year:
|
|
# 16.08.2021 20:29:39
|
|
selector: td:nth-child(5):not(:contains(",")), li.meta-date:not(:contains(","))
|
|
optional: true
|
|
filters:
|
|
- name: append
|
|
args: " +03:00" # MSK
|
|
- name: dateparse
|
|
args: "02.01.2006 15:04:05 -07:00"
|
|
date:
|
|
text: "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
|
|
seeders:
|
|
selector: td.l1, li.meta-sead
|
|
leechers:
|
|
selector: td.l2, li.meta-leech
|
|
downloadvolumefactor:
|
|
text: 0
|
|
uploadvolumefactor:
|
|
text: 1
|
|
# engine n/a
|