mirror of
https://github.com/Jackett/Jackett
synced 2025-01-03 13:46:10 +00:00
add electro-torrent a Polish semi-private site. resolves #13951
This commit is contained in:
parent
c886faf7df
commit
8cb43e3bdd
2 changed files with 184 additions and 0 deletions
|
@ -182,6 +182,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht
|
|||
* Deildu
|
||||
* DimeADozen (EzTorrent)
|
||||
* DXP (Deaf Experts)
|
||||
* Electro-Torrent
|
||||
* EniaHD
|
||||
* Erai-Raws
|
||||
* ExKinoRay
|
||||
|
|
183
src/Jackett.Common/Definitions/electro-torrent.yml
Normal file
183
src/Jackett.Common/Definitions/electro-torrent.yml
Normal file
|
@ -0,0 +1,183 @@
|
|||
---
|
||||
id: electro-torrent
|
||||
name: Electro-Torrent
|
||||
description: "Electro-Torrent is a POLISH Semi-Private Torrent Tracker for MOVIES / TV / GENERAL"
|
||||
language: pl-PL
|
||||
type: semi-private
|
||||
encoding: UTF-8
|
||||
links:
|
||||
- http://electro-torrent.pl/
|
||||
|
||||
caps:
|
||||
categorymappings:
|
||||
- {id: 1, cat: Movies/SD, desc: "Filmy XviD/DivX"}
|
||||
- {id: 769, cat: Movies/HD, desc: "Filmy 1080p AVC"}
|
||||
- {id: 770, cat: Movies/HD, desc: "Filmy x264/1080p"}
|
||||
- {id: 4, cat: Movies/HD, desc: "Filmy x264/720p"}
|
||||
- {id: 642, cat: Movies/HD, desc: "Filmy x264/h264"}
|
||||
- {id: 723, cat: Movies/UHD, desc: "Filmy 4K UHD"}
|
||||
- {id: 1160, cat: Movies/UHD, desc: "Filmy x265/2160p"}
|
||||
- {id: 1116, cat: Movies/HD, desc: "Filmy x265/1080p"}
|
||||
- {id: 1204, cat: Movies/HD, desc: "Filmy x265/720p"}
|
||||
- {id: 596, cat: Movies/HD, desc: "Filmy x265/h265"}
|
||||
- {id: 1072, cat: Movies, desc: "Filmy - WAREZY"}
|
||||
- {id: 3, cat: Movies/DVD, desc: "Filmy DVD"}
|
||||
- {id: 5, cat: Movies/3D, desc: "Filmy 3D"}
|
||||
- {id: 362, cat: Movies/SD, desc: "Filmy IVO"}
|
||||
- {id: 696, cat: Movies/SD, desc: "Filmy TS/CAM"}
|
||||
- {id: 7, cat: TV, desc: "TV/Seriale"}
|
||||
- {id: 8, cat: XXX, desc: "Erotyka"}
|
||||
- {id: 10, cat: Audio, desc: "Muzyka"}
|
||||
- {id: 11, cat: PC, desc: "Programy"}
|
||||
- {id: 12, cat: PC/Mobile-Other, desc: "GSM/PDA"}
|
||||
- {id: 13, cat: Console, desc: "Konsole"}
|
||||
- {id: 14, cat: PC/Games, desc: "Gry PC"}
|
||||
- {id: 1045, cat: PC/Games, desc: "Gry PC - Warezy"}
|
||||
- {id: 15, cat: Movies, desc: "Dla Dzieci"}
|
||||
- {id: 16, cat: Books, desc: "Książki"}
|
||||
- {id: 525, cat: PC/Mac, desc: "Mac"}
|
||||
- {id: 18, cat: PC, desc: "Linux"}
|
||||
- {id: 19, cat: TV/Sport, desc: "Sport"}
|
||||
- {id: 907, cat: TV/Anime, desc: "Anime"}
|
||||
- {id: 21, cat: Other, desc: "Inne"}
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
tv-search: [q, season, ep]
|
||||
movie-search: [q]
|
||||
music-search: [q]
|
||||
book-search: [q]
|
||||
|
||||
settings:
|
||||
- name: username
|
||||
type: text
|
||||
label: Username
|
||||
- name: password
|
||||
type: password
|
||||
label: Password
|
||||
- name: multilang
|
||||
type: checkbox
|
||||
label: Replace MULTI by another language in release name
|
||||
default: false
|
||||
- name: multilanguage
|
||||
type: select
|
||||
label: Replace MULTI by this language
|
||||
default: POLISH
|
||||
options:
|
||||
POLISH: POLISH
|
||||
MULTI.POLISH: MULTI.POLISH
|
||||
|
||||
login:
|
||||
path: logowanie
|
||||
method: form
|
||||
form: form[action="takelogin.php"]
|
||||
captcha:
|
||||
type: image
|
||||
selector: img[src^="img.php?size=3"]
|
||||
input: vImageCodP
|
||||
inputs:
|
||||
username: "{{ .Config.username }}"
|
||||
password: "{{ .Config.password }}"
|
||||
returnto: ""
|
||||
error:
|
||||
- selector: div#center-side:contains("Logowanie nie")
|
||||
test:
|
||||
path: /
|
||||
selector: a[href$="/logout.php"]
|
||||
|
||||
search:
|
||||
# http://electro-torrent.pl/szukaj.php?search=&typ=torrent&cat=0
|
||||
paths:
|
||||
- path: szukaj.php
|
||||
inputs:
|
||||
# does not support multi cat selection, defaulting to all
|
||||
# $raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
||||
cat: 0
|
||||
typ: torrent
|
||||
search: "{{ .Keywords }}"
|
||||
|
||||
rows:
|
||||
selector: table.test5 > tbody > tr > td > div[id]:has(a[href*="/download/"])
|
||||
|
||||
fields:
|
||||
category:
|
||||
selector: div#kategoria-gatunek-1
|
||||
case:
|
||||
"div#kategoria-gatunek-1:contains(\"Filmy XviD/DivX\")": 1
|
||||
"div#kategoria-gatunek-1:contains(\"Filmy 1080p AVC\")": 769
|
||||
"div#kategoria-gatunek-1:contains(\"Filmy x264/1080p\")": 770
|
||||
"div#kategoria-gatunek-1:contains(\"Filmy x264/720p\")": 4
|
||||
"div#kategoria-gatunek-1:contains(\"Filmy x264/h264\")": 642
|
||||
"div#kategoria-gatunek-1:contains(\"Filmy 4K UHD\")": 723
|
||||
"div#kategoria-gatunek-1:contains(\"Filmy x265/2160p\")": 1160
|
||||
"div#kategoria-gatunek-1:contains(\"Filmy x265/1080p\")": 1116
|
||||
"div#kategoria-gatunek-1:contains(\"Filmy x265/720p\")": 1204
|
||||
"div#kategoria-gatunek-1:contains(\"Filmy x265/h265\")": 596
|
||||
"div#kategoria-gatunek-1:contains(\"Filmy - WAREZY\")": 1072
|
||||
"div#kategoria-gatunek-1:contains(\"Filmy DVD\")": 3
|
||||
"div#kategoria-gatunek-1:contains(\"Filmy 3D\")": 5
|
||||
"div#kategoria-gatunek-1:contains(\"Filmy IVO\")": 362
|
||||
"div#kategoria-gatunek-1:contains(\"Filmy TS/CAM\")": 696
|
||||
"div#kategoria-gatunek-1:contains(\"TV/Seriale\")": 7
|
||||
"div#kategoria-gatunek-1:contains(\"Erotyka\")": 8
|
||||
"div#kategoria-gatunek-1:contains(\"Muzyka\")": 10
|
||||
"div#kategoria-gatunek-1:contains(\"Programy\")": 11
|
||||
"div#kategoria-gatunek-1:contains(\"GSM/PDA\")": 12
|
||||
"div#kategoria-gatunek-1:contains(\"Konsole\")": 13
|
||||
"div#kategoria-gatunek-1:contains(\"Gry PC - Warezy\")": 1045
|
||||
"div#kategoria-gatunek-1:contains(\"Gry PC\")": 14
|
||||
"div#kategoria-gatunek-1:contains(\"Dla Dzieci\")": 15
|
||||
"div#kategoria-gatunek-1:contains(\"Książki\")": 16
|
||||
"div#kategoria-gatunek-1:contains(\"Mac\")": 525
|
||||
"div#kategoria-gatunek-1:contains(\"Linux\")": 18
|
||||
"div#kategoria-gatunek-1:contains(\"Sport\")": 19
|
||||
"div#kategoria-gatunek-1:contains(\"Anime\")": 907
|
||||
"div#kategoria-gatunek-1:contains(\"Inne\")": 21
|
||||
title_phase1:
|
||||
selector: a[href^="/torrent/"]
|
||||
attribute: title
|
||||
title_multilang:
|
||||
selector: a[href^="/torrent/"]
|
||||
attribute: title
|
||||
filters:
|
||||
- name: re_replace
|
||||
args: ["(?i)(\\bmulti\\b)", "{{ .Config.multilanguage }}"]
|
||||
title:
|
||||
text: "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase1 }}{{ end }}"
|
||||
details:
|
||||
selector: a[href^="/torrent/"]
|
||||
attribute: href
|
||||
download:
|
||||
selector: a[href*="/download/"]
|
||||
attribute: href
|
||||
poster:
|
||||
selector: img.browse_poster
|
||||
attribute: src
|
||||
date:
|
||||
selector: td.descr3
|
||||
filters:
|
||||
- name: regexp
|
||||
args: (\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2})
|
||||
- name: append
|
||||
args: " +01:00" # CET
|
||||
- name: dateparse
|
||||
args: "2006-01-02 15:04:05 -07:00"
|
||||
size:
|
||||
selector: td.descr3
|
||||
filters:
|
||||
- name: regexp
|
||||
args: (\d{1,4}\.\d{2}\s+?[T|G|M|k]B)
|
||||
seeders:
|
||||
selector: font[color="green"] > b, font[color="red"] > b
|
||||
leechers:
|
||||
selector: font[color="green"]:nth-of-type(2) > b, font[color="red"]:nth-of-type(2) > b
|
||||
grabs:
|
||||
selector: td.descr3
|
||||
filters:
|
||||
- name: regexp
|
||||
args: (\d{1,4}) razy
|
||||
downloadvolumefactor:
|
||||
text: 0
|
||||
uploadvolumefactor:
|
||||
text: 1
|
||||
# engine n/a
|
Loading…
Reference in a new issue