add pornotor a 3x site. resolves #7523

This commit is contained in:
Garfield69 2020-03-07 16:20:03 +13:00
parent 4b507a3cbb
commit e66beb64f4
2 changed files with 87 additions and 0 deletions

View File

@ -96,6 +96,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* PiratBit
* Pirateiro
* PornLeech
* PornoTor
* ProStyleX
* RARBG
* Rus-media

View File

@ -0,0 +1,86 @@
---
site: 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
caps:
categorymappings:
- {id: XXX, cat: XXX, desc: "XXX"}
modes:
search: [q]
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"
search:
paths:
- path: browse.php
inputs:
search: "{{ .Keywords }}"
sort: "{{ .Config.sort }}"
type: "{{ .Config.type }}"
rows:
selector: table.embedded > tbody > tr:has(a[href^="details.php?id="])
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: 1
uploadvolumefactor:
text: 1
# TBDev