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

64 lines
1.3 KiB
YAML
Raw Normal View History

2024-04-07 00:37:31 -04:00
---
id: pctorrent
name: PC-torrent
description: "PC-torrent is a RUSSIAN Public Torrent Tracker for Games"
language: ru-RU
type: public
encoding: windows-1251
links:
- https://pc-torrents.games/
legacylinks:
- https://pc-torrent.org/
- https://pc-torrent.pro/
caps:
categorymappings:
- {id: 1, cat: PC/Games, desc: "Games"}
modes:
search: [q]
settings: []
download:
selectors:
- selector: a[href*="/engine/download.php?id="]
attribute: href
search:
paths:
- path: "{{ if .Keywords }}?do=search&subaction=search&search_start=0&full_search=1&result_from=1&story={{ .Keywords }}{{ else }}{{ end }}"
rows:
selector: div.dshort:has(div.d3-raz):not(:has(div.d3-raz:contains("Анонс!"))) # no size means indirect download via 3rd party site, not supported by cardigann. #8020
filters:
- name: andmatch # issue #8019
fields:
category:
text: 1
title:
selector: div.d3-title
details:
selector: a
attribute: href
download:
selector: a
attribute: href
poster:
selector: img
attribute: src
date:
text: now
size:
selector: div.d3-raz
seeders:
text: 1
leechers:
text: 1
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1
# DataLife