mirror of
https://github.com/Jackett/Jackett
synced 2025-02-21 05:47:09 +00:00
add nitro, a Polish public site. resolves #5949
This commit is contained in:
parent
f88c07c792
commit
ca230c6c03
2 changed files with 81 additions and 0 deletions
|
@ -64,6 +64,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
|
|||
* Monova
|
||||
* MovCr
|
||||
* Newpct (aka: tvsinpagar, descargas2020, torrentlocura, torrentrapid, tumejortorrent, pctnew, etc)
|
||||
* Nitro
|
||||
* Nyaa.si
|
||||
* Nyaa-Pantsu
|
||||
* OxTorrent
|
||||
|
|
80
src/Jackett.Common/Definitions/nitro.yml
Normal file
80
src/Jackett.Common/Definitions/nitro.yml
Normal file
|
@ -0,0 +1,80 @@
|
|||
---
|
||||
site: nitro
|
||||
name: Nitro
|
||||
description: "Nitro is a POLISH Public Torrent Tracker"
|
||||
language: pl-pl
|
||||
type: public
|
||||
encoding: UTF-8
|
||||
links:
|
||||
- http://nitro.to/
|
||||
|
||||
caps:
|
||||
categorymappings:
|
||||
- {id: 1, cat: TV, desc: "Seriale"}
|
||||
- {id: 2, cat: Movies, desc: "Filmy"}
|
||||
- {id: 3, cat: Audio, desc: "Muzyka"}
|
||||
- {id: 4, cat: PC/Games, desc: "Gry"}
|
||||
- {id: 5, cat: TV/Anime, desc: "Anime"}
|
||||
- {id: 6, cat: PC, desc: "Programy"}
|
||||
- {id: 7, cat: Books, desc: "E-Booki/Książki"}
|
||||
- {id: 8, cat: Audio/Audiobook, desc: "Audio Booki"}
|
||||
- {id: 9, cat: PC/Phone-Other, desc: "GSM/PDA"}
|
||||
- {id: 10, cat: Other, desc: "Inne"}
|
||||
- {id: 11, cat: XXX, desc: "XXX"}
|
||||
- {id: 144, cat: Other, desc: "Nieposortowane"}
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
tv-search: [q, season, ep]
|
||||
movie-search: [q]
|
||||
|
||||
settings: []
|
||||
|
||||
search:
|
||||
paths:
|
||||
- path: tags.php
|
||||
inputs:
|
||||
search: "{{ .Keywords }}"
|
||||
# 0 poster 1 list
|
||||
where: 1
|
||||
per: 50
|
||||
# 0 all 1 active 2 dead
|
||||
active: 1
|
||||
order: data
|
||||
rows:
|
||||
selector: table[width="100%"] > tbody > tr:has(a[onclick="getMagnet(this)"])
|
||||
fields:
|
||||
title:
|
||||
selector: a[href^="/torrent/"]
|
||||
details:
|
||||
selector: a[href^="/torrent/"]
|
||||
attribute: href
|
||||
category:
|
||||
selector: a[href^="/tags.php?tags="]
|
||||
attribute: href
|
||||
filters:
|
||||
- name: querystring
|
||||
args: tags
|
||||
magnet:
|
||||
selector: a[onclick="getMagnet(this)"]
|
||||
attribute: title
|
||||
filters:
|
||||
- name: replace
|
||||
args: ["/__DWNMAGNET__?", "download_magnet.php?"]
|
||||
- name: prepend
|
||||
args: "{{ .Config.sitelink }}"
|
||||
date:
|
||||
selector: td:nth-child(1)
|
||||
filters:
|
||||
- name: dateparse
|
||||
args: "02/01/2006"
|
||||
size:
|
||||
selector: td:nth-child(4)
|
||||
seeders:
|
||||
selector: td:nth-child(6)
|
||||
leechers:
|
||||
selector: td:nth-child(7)
|
||||
downloadvolumefactor:
|
||||
text: 0
|
||||
uploadvolumefactor:
|
||||
text: 1
|
Loading…
Reference in a new issue