media-server-docker-compose/config/prowlarr/Definitions/trupornolabs.yml

93 lines
2.5 KiB
YAML
Raw Normal View History

2024-04-07 00:37:31 -04:00
---
id: trupornolabs
name: truPornolabs
description: "truPornolabs is a RUSSIAN Public tracker for 3X"
language: ru-RU
type: public
encoding: UTF-8
links:
- http://trupornolabs.org/ # https not supported
caps:
categories:
XXX: XXX
modes:
search: [q]
settings:
- name: flaresolverr
type: info
label: FlareSolverr
default: This site may use Cloudflare DDoS Protection, therefore Prowlarr requires <a href="https://wiki.servarr.com/prowlarr/faq#can-i-use-flaresolverr-indexers" target="_blank" rel="noreferrer">FlareSolverr</a> to access it.
search:
headers:
User-Agent: ["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 Edg/115.0.1901.203"]
paths:
# http://trupornolabs.org/search/vika
# http://trupornolabs.org/browse/0/0/0/0
- path: "{{ if .Keywords }}search/{{ .Keywords }}{{ else }}browse/0/0/0/0{{ end }}"
rows:
# filter out torrents with 0B for issue #9756
selector: tr.gai:has(a[href^="/torrent/"]):has(td:nth-of-type(3):contains("GB")), tr.gai:has(a[href^="/torrent/"]):has(td:nth-of-type(3):contains("MB"))
fields:
category:
text: XXX
title:
selector: a[href^="/torrent/"]
details:
selector: a[href^="/torrent/"]
attribute: href
download:
selector: a.downgif
attribute: href
magnet:
selector: a[href^="magnet:?xt="]
attribute: href
date:
selector: td:first-of-type
filters:
- name: replace
args: ["Янв", "Jan"]
- name: replace
args: ["Фев", "Feb"]
- name: replace
args: ["Мар", "Mar"]
- name: replace
args: ["Апр", "Apr"]
- name: replace
args: ["Май", "May"]
- name: replace
args: ["Июн", "Jun"]
- name: replace
args: ["Июл", "Jul"]
- name: replace
args: ["Авг", "Aug"]
- name: replace
args: ["Сен", "Sep"]
- name: replace
args: ["Окт", "Oct"]
- name: replace
args: ["Ноя", "Nov"]
- name: replace
args: ["Дек", "Dec"]
- name: append
args: " +03:00" # MSK
- name: dateparse
args: "dd MMM yy zzz"
size:
selector: td:nth-of-type(3)
seeders:
selector: span.green
leechers:
selector: span.red
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1
# engine n/a