Jackett/src/Jackett.Common/Definitions/pornotor.yml

89 lines
1.8 KiB
YAML
Raw Normal View History

2020-03-07 03:20:03 +00:00
---
id: pornotor
name: Pornotor
description: "Pornotor is a RUSSIAN Public Torrent Tracker for 3X"
language: ru-ru
type: public
encoding: windows-1251
links:
- http://pornotor.org/ # site does not support https ERR_CONNECTION_REFUSED
2020-03-07 03:20:03 +00:00
caps:
categorymappings:
2020-05-12 23:07:31 +00:00
- {id: XXX, cat: XXX, desc: "XXX"}
2020-03-07 03:20:03 +00:00
modes:
search: [q]
tv-search: [q]
movie-search: [q]
2020-03-07 03:20:03 +00:00
settings:
- name: sort
type: select
label: Sort requested from site
default: "4"
options:
"4": "created"
"7": "seeders"
"5": "size"
"1": "title"
- name: type
type: select
label: Order requested from site
default: "desc"
options:
"desc": "desc"
"asc": "asc"
2020-03-07 03:20:03 +00:00
search:
paths:
- path: browse.php
inputs:
search: "{{ .Keywords }}"
sort: "{{ .Config.sort }}"
type: "{{ .Config.type }}"
2020-03-07 03:20:03 +00:00
rows:
selector: table.embedded > tbody > tr:has(a[href^="details.php?id="])
2020-03-07 03:20:03 +00:00
fields:
category:
text: XXX
title:
selector: a[href^="details.php?id="]
details:
selector: a[href^="details.php?id="]
attribute: href
id:
selector: a[href^="details.php?id="]
attribute: href
filters:
- name: querystring
args: id
download:
text: "download.php?id={{ .Result.id }}&name=t{{ .Result.id }}.torrent"
date:
selector: font.mnav
filters:
- name: replace
args: ["Добавлен: ", ""]
- name: dateparse
args: "2006-01-02 15:04:05"
size:
selector: td:nth-child(4)
seeders:
selector: td:nth-child(5)
filters:
- name: split
args: ["/", 0]
leechers:
selector: td:nth-child(5)
filters:
- name: split
args: ["/", 1]
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1
2020-03-07 03:20:03 +00:00
# TBDev