mirror of
https://github.com/Jackett/Jackett
synced 2025-01-02 13:16:16 +00:00
Add CzTorrent tracker (#1739)
This commit is contained in:
parent
eac11ab807
commit
4d36dae634
2 changed files with 126 additions and 0 deletions
|
@ -91,6 +91,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
|
||||||
* CinemaZ
|
* CinemaZ
|
||||||
* Classix
|
* Classix
|
||||||
* CZTeam
|
* CZTeam
|
||||||
|
* CzTorrent
|
||||||
* DanishBits
|
* DanishBits
|
||||||
* DataScene
|
* DataScene
|
||||||
* Deildu
|
* Deildu
|
||||||
|
|
125
src/Jackett/Definitions/cztorrent.yml
Normal file
125
src/Jackett/Definitions/cztorrent.yml
Normal file
|
@ -0,0 +1,125 @@
|
||||||
|
---
|
||||||
|
site: cztorrent
|
||||||
|
name: CzTorrent
|
||||||
|
language: cs-cz
|
||||||
|
type: semi-private
|
||||||
|
encoding: UTF-8
|
||||||
|
links:
|
||||||
|
- https://tracker.cztorrent.net/
|
||||||
|
|
||||||
|
caps:
|
||||||
|
categorymappings:
|
||||||
|
- {id: 1, cat: Movies, desc: "Filmy"}
|
||||||
|
- {id: 25, cat: TV, desc: "Seriály"}
|
||||||
|
- {id: 23, cat: TV/Documentary, desc: "Filmy - dokument"}
|
||||||
|
- {id: 22, cat: PC, desc: "Aplikace"}
|
||||||
|
- {id: 36, cat: Movies/3D, desc: "Filmy - 3D"}
|
||||||
|
- {id: 35, cat: Movies/Other, desc: "Filmy - anime"}
|
||||||
|
- {id: 37, cat: Movies/BluRay, desc: "Filmy - Blu-ray"}
|
||||||
|
- {id: 11, cat: Movies/DVD, desc: "Filmy - DVD"}
|
||||||
|
- {id: 30, cat: Movies/DVD, desc: "Filmy - DVD full"}
|
||||||
|
- {id: 5, cat: Movies, desc: "Filmy - kreslené"}
|
||||||
|
- {id: 31, cat: Movies/HD, desc: "HD"}
|
||||||
|
- {id: 38, cat: Movies/HD, desc: "HD-LQ"}
|
||||||
|
- {id: 3, cat: PC/Games, desc: "Hry"}
|
||||||
|
- {id: 2, cat: Audio, desc: "Hudba"}
|
||||||
|
- {id: 34, cat: Audio/Video, desc: "Hudba DVD/HD"}
|
||||||
|
- {id: 6, cat: Books, desc: "Knihy"}
|
||||||
|
- {id: 13, cat: Console, desc: "Konzole"}
|
||||||
|
- {id: 32, cat: Audio, desc: "Mluvené slovo"}
|
||||||
|
- {id: 16, cat: PC/Phone-Other, desc: "Mobil, PDA"}
|
||||||
|
- {id: 4, cat: Other, desc: "Ostatní"}
|
||||||
|
- {id: 29, cat: Audio, desc: "Soundtrack"}
|
||||||
|
- {id: 19, cat: Audio/Video, desc: "Videoklipy"}
|
||||||
|
- {id: 24, cat: XXX, desc: "xXx"}
|
||||||
|
|
||||||
|
modes:
|
||||||
|
search: [q]
|
||||||
|
tv-search: [q, season, ep]
|
||||||
|
movie-search: [q]
|
||||||
|
|
||||||
|
login:
|
||||||
|
path: /login-page
|
||||||
|
method: form
|
||||||
|
form: form[action^="/login"]
|
||||||
|
inputs:
|
||||||
|
username: "{{ .Config.username }}"
|
||||||
|
password: "{{ .Config.password }}"
|
||||||
|
persistent_login: "1"
|
||||||
|
error:
|
||||||
|
- selector: div.error
|
||||||
|
test:
|
||||||
|
path: /torrents
|
||||||
|
|
||||||
|
search:
|
||||||
|
path: /torrents
|
||||||
|
inputs:
|
||||||
|
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
|
||||||
|
s: "{{ .Keywords }}"
|
||||||
|
t: "1"
|
||||||
|
rows:
|
||||||
|
selector: tr.torr_hover
|
||||||
|
fields:
|
||||||
|
title:
|
||||||
|
selector: td.detaily a
|
||||||
|
filters:
|
||||||
|
- name: re_replace
|
||||||
|
args: [".*? / ", ""]
|
||||||
|
category:
|
||||||
|
selector: td:nth-child(2)
|
||||||
|
case:
|
||||||
|
":contains(\"Filmy\")": 1
|
||||||
|
":contains(\"Seriály\")": 25
|
||||||
|
":contains(\"Filmy - dokument\")": 23
|
||||||
|
":contains(\"Aplikace\")": 22
|
||||||
|
":contains(\"Filmy - 3D\")": 36
|
||||||
|
":contains(\"Filmy - anime\")": 35
|
||||||
|
":contains(\"Filmy - Blu-ray\")": 37
|
||||||
|
":contains(\"Filmy - DVD\")": 11
|
||||||
|
":contains(\"Filmy - DVD full\")": 30
|
||||||
|
":contains(\"Filmy - kreslené\")": 5
|
||||||
|
":contains(\"HD\")": 31
|
||||||
|
":contains(\"HD-LQ\")": 38
|
||||||
|
":contains(\"Hry\")": 3
|
||||||
|
":contains(\"Hudba\")": 2
|
||||||
|
":contains(\"Hudba DVD/HD\")": 34
|
||||||
|
":contains(\"Knihy\")": 6
|
||||||
|
":contains(\"Konzole\")": 13
|
||||||
|
":contains(\"Mluvené slovo\")": 32
|
||||||
|
":contains(\"Mobil, PDA\")": 16
|
||||||
|
":contains(\"Ostatní\")": 4
|
||||||
|
":contains(\"Soundtrack\")": 29
|
||||||
|
":contains(\"Videoklipy\")": 19
|
||||||
|
":contains(\"xXx\")": 24
|
||||||
|
details:
|
||||||
|
selector: td.detaily a
|
||||||
|
attribute: href
|
||||||
|
download:
|
||||||
|
selector: td.download a
|
||||||
|
attribute: href
|
||||||
|
size:
|
||||||
|
selector: td.detaily
|
||||||
|
filters:
|
||||||
|
- name: split
|
||||||
|
args: [ "|", 0 ]
|
||||||
|
- name: regexp
|
||||||
|
args: "Velikost: (.+?) ?$"
|
||||||
|
date:
|
||||||
|
selector: td:nth-child(4)
|
||||||
|
filters:
|
||||||
|
- name: split
|
||||||
|
args: [ "|", 1 ]
|
||||||
|
- name: regexp
|
||||||
|
args: "Přidán: (.+?) ?$"
|
||||||
|
- name: append
|
||||||
|
args: " +02:00"
|
||||||
|
seeders:
|
||||||
|
selector: td:nth-child(7) span
|
||||||
|
leechers:
|
||||||
|
selector: td:nth-child(8) span
|
||||||
|
downloadvolumefactor:
|
||||||
|
case:
|
||||||
|
"*": "1"
|
||||||
|
uploadvolumefactor:
|
||||||
|
case:
|
||||||
|
"*": "1"
|
Loading…
Reference in a new issue