Revert "pc-torrent: removed - down for 30 days. Resolves #7933" (#9385)

This commit is contained in:
ilike2burnthing 2020-08-24 06:17:33 +01:00 committed by GitHub
parent c9159cd0db
commit fe57b76352
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 63 additions and 1 deletions

View File

@ -95,6 +95,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* OneJAV
* OxTorrent
* ParnuXi
* PC-torrent
* PiratBit
* Pirateiro
* Pornforall

View File

@ -0,0 +1,62 @@
---
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-torrent.pro/
legacylinks:
- https://pc-torrent.org/
caps:
categorymappings:
- {id: 1, cat: PC/Games, desc: "Games"}
modes:
search: [q]
settings: []
download:
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
banner:
selector: img
attribute: src
optional: true
date:
text: now
size:
selector: div.d3-raz
seeders:
text: 1
leechers:
text: 1
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1
# DataLife

View File

@ -351,7 +351,6 @@ namespace Jackett.Updater
"Definitions/nyaa.yml",
"Definitions/nyoo.yml",
"Definitions/passionetorrent.yml",
"Definitions/pctorrent.yml",
"Definitions/polishtracker.yml",
"Definitions/qctorrent.yml",
"Definitions/qxr.yml",