media-server-docker-compose/config/prowlarr/Definitions/xxxtor.yml
Braden Jageman fd77c332fb new stuff
2024-04-07 00:37:31 -04:00

91 lines
2.0 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.

---
id: xxxtor
name: xxxtor
description: "xxxtor is a RUSSIAN Public Torrent Tracker for 3X"
language: ru-RU
type: public
encoding: UTF-8
links:
- https://xxxtor.com/
legacylinks:
- https://xxxtor.org/ # redirects to .com
- https://xxxtor.info/ # redirects to .com
caps:
categorymappings:
- {id: XXX, cat: XXX, desc: "XXX"}
modes:
search: [q]
settings: []
search:
# https://xxxtor.com/b.php?search=penny
paths:
- path: b.php
inputs:
search: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}"
rows:
selector: table > tbody > tr.gai
filters:
- name: andmatch
fields:
category:
text: XXX
title:
selector: a[href^="/torrent/"]
details:
selector: a[href^="/torrent/"]
attribute: href
download:
selector: a[href^="/download/"]
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: td:last-of-type span:first-of-type
leechers:
selector: td:last-of-type span:last-of-type
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1
# engine n/a