mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
add torrentleech.pl a privat ePolish site. resolves #7014
This commit is contained in:
@@ -433,6 +433,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
|
|||||||
* Torrenting (TT)
|
* Torrenting (TT)
|
||||||
* Torrentland
|
* Torrentland
|
||||||
* TorrentLeech (TL)
|
* TorrentLeech (TL)
|
||||||
|
* TorrentLeech.pl
|
||||||
* TorrentSeeds (TS)
|
* TorrentSeeds (TS)
|
||||||
* Torrent-Syndikat
|
* Torrent-Syndikat
|
||||||
* TOrrent-tuRK (TORK)
|
* TOrrent-tuRK (TORK)
|
||||||
|
163
src/Jackett.Common/Definitions/torrentleech-pl.yml
Normal file
163
src/Jackett.Common/Definitions/torrentleech-pl.yml
Normal file
@@ -0,0 +1,163 @@
|
|||||||
|
---
|
||||||
|
site: torrentleech-pl
|
||||||
|
name: Torrentleech.pl
|
||||||
|
description: "Torrentleech.pl is a POLISH Private Torrent Tracker for 0DAY / GENERAL"
|
||||||
|
language: pl-pl
|
||||||
|
type: private
|
||||||
|
encoding: UTF-8
|
||||||
|
links:
|
||||||
|
- https://torrentleech.pl/
|
||||||
|
|
||||||
|
caps:
|
||||||
|
categorymappings:
|
||||||
|
- {id: 32, cat: PC, desc: "Aplikacje PC"}
|
||||||
|
- {id: 33, cat: Books, desc: "eBooki/AudioBooki/Prasa"}
|
||||||
|
- {id: 65, cat: Movies/3D, desc: "Filmy/3D"}
|
||||||
|
- {id: 69, cat: Movies/UHD, desc: "Filmy/4K UHD"}
|
||||||
|
- {id: 28, cat: TV/Anime, desc: "Filmy/Animowane"}
|
||||||
|
- {id: 66, cat: Movies/BluRay, desc: "Filmy/BDRip"}
|
||||||
|
- {id: 61, cat: Movies/BluRay, desc: "Filmy/BRRip"}
|
||||||
|
- {id: 67, cat: Movies, desc: "Filmy/CAM-TC-TS"}
|
||||||
|
- {id: 58, cat: TV/Documentary, desc: "Filmy/Dokumentalne"}
|
||||||
|
- {id: 39, cat: Movies/HD, desc: "Filmy/Full HD"}
|
||||||
|
- {id: 36, cat: Movies/HD, desc: "Filmy/HD Ready"}
|
||||||
|
- {id: 64, cat: Movies, desc: "Filmy/Kino Polskie"}
|
||||||
|
- {id: 59, cat: Movies, desc: "Filmy/PACK"}
|
||||||
|
- {id: 40, cat: Movies/SD, desc: "Filmy/SD"}
|
||||||
|
- {id: 68, cat: Movies/WEBDL, desc: "Filmy/WEB-DL"}
|
||||||
|
- {id: 62, cat: Console, desc: "Gry/Dodatki"}
|
||||||
|
- {id: 41, cat: Console, desc: "Gry/Konsole"}
|
||||||
|
- {id: 42, cat: PC/Games, desc: "Gry/PC"}
|
||||||
|
- {id: 44, cat: PC/Phone-Other, desc: "GSM/PDA"}
|
||||||
|
- {id: 57, cat: Audio/Video, desc: "Koncerty/Teledyski"}
|
||||||
|
- {id: 63, cat: Audio/Lossless, desc: "Muzyka/FLAC"}
|
||||||
|
- {id: 46, cat: Audio/MP3, desc: "Muzyka/MP3"}
|
||||||
|
- {id: 47, cat: Other, desc: "Różne"}
|
||||||
|
- {id: 60, cat: TV/Sport, desc: "Sport"}
|
||||||
|
- {id: 53, cat: TV, desc: "TV Seriale"}
|
||||||
|
- {id: 56, cat: XXX, desc: "XXX"}
|
||||||
|
|
||||||
|
modes:
|
||||||
|
search: [q]
|
||||||
|
tv-search: [q, season, ep]
|
||||||
|
movie-search: [q]
|
||||||
|
|
||||||
|
settings:
|
||||||
|
- name: cookie
|
||||||
|
type: text
|
||||||
|
label: Cookie
|
||||||
|
- name: info
|
||||||
|
type: info
|
||||||
|
label: How to get the Cookie
|
||||||
|
default: "<ol><li>Login to this tracker with your browser<li>Open the <b>DevTools</b> panel by pressing <b>F12</b><li>Select the <b>Network</b> tab<li>Click on the <b>Doc</b> button<li>Refresh the page by pressing <b>F5</b><li>Select the <b>Headers</b> tab<li>Find 'cookie:' in the <b>Request Headers</b> section<li>Copy & paste the whole cookie string to here.</ol>"
|
||||||
|
# - 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"
|
||||||
|
|
||||||
|
login:
|
||||||
|
method: cookie
|
||||||
|
inputs:
|
||||||
|
cookie: "{{ .Config.cookie }}"
|
||||||
|
test:
|
||||||
|
path: /
|
||||||
|
selector: a[href^="logout.php"]
|
||||||
|
|
||||||
|
search:
|
||||||
|
paths:
|
||||||
|
# https://torrentleech.pl/browse.php?c60=1&c53=1&search=&incldead=1&titlesearch=0&polish=0&cat_film=&napisy=0
|
||||||
|
- path: browse.php
|
||||||
|
inputs:
|
||||||
|
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
||||||
|
search: "{{ .Keywords }}"
|
||||||
|
# 0 onlyactive 1 all 2 onlydead 3 free
|
||||||
|
incldead: 1
|
||||||
|
# 0 title 1 descr 2 both
|
||||||
|
titlesearch: 0
|
||||||
|
# 0 all 1 polish 2 not polish
|
||||||
|
polish: 0
|
||||||
|
cat_film: ""
|
||||||
|
# subtitles 0 everything 1 yes 2 no
|
||||||
|
napisy: 0
|
||||||
|
# sort: "{{ .Config.sort }}"
|
||||||
|
# type: "{{ .Config.type }}"
|
||||||
|
|
||||||
|
rows:
|
||||||
|
selector: table[border="1"][cellspacing="0"][cellpadding="5"] > tbody > tr:has(a[href^="details.php?id="])
|
||||||
|
|
||||||
|
fields:
|
||||||
|
category:
|
||||||
|
selector: a[href^="browse.php?cat="]
|
||||||
|
attribute: href
|
||||||
|
filters:
|
||||||
|
- name: querystring
|
||||||
|
args: cat
|
||||||
|
title:
|
||||||
|
selector: a[href^="details.php?id="]
|
||||||
|
details:
|
||||||
|
selector: a[href^="details.php?id="]
|
||||||
|
attribute: href
|
||||||
|
download:
|
||||||
|
selector: a[href^="download.php/"]
|
||||||
|
attribute: href
|
||||||
|
description:
|
||||||
|
text: ""
|
||||||
|
description:
|
||||||
|
optional: true
|
||||||
|
selector: img[src="pic/pl.jpg"]
|
||||||
|
filters:
|
||||||
|
- name: append
|
||||||
|
args: "Language: polish\n<br>"
|
||||||
|
- name: prepend
|
||||||
|
args: "{{ .Result.description }}"
|
||||||
|
description:
|
||||||
|
optional: true
|
||||||
|
selector: img[src="pic/napisy.gif"]
|
||||||
|
filters:
|
||||||
|
- name: append
|
||||||
|
args: "Subbed\n<br>"
|
||||||
|
- name: prepend
|
||||||
|
args: "{{ .Result.description }}"
|
||||||
|
date:
|
||||||
|
selector: td:nth-child(4)
|
||||||
|
filters:
|
||||||
|
- name: append
|
||||||
|
args: " +00:00"
|
||||||
|
- name: dateparse
|
||||||
|
args: "2006-01-0215:04:05 -07:00"
|
||||||
|
size:
|
||||||
|
selector: td:nth-child(5)
|
||||||
|
grabs:
|
||||||
|
selector: td:nth-child(6)
|
||||||
|
filters:
|
||||||
|
- name: regexp
|
||||||
|
args: (\d+)
|
||||||
|
seeders:
|
||||||
|
selector: td:nth-child(7)
|
||||||
|
filters:
|
||||||
|
- name: split
|
||||||
|
args: ["/", 0]
|
||||||
|
leechers:
|
||||||
|
selector: td:nth-child(7)
|
||||||
|
filters:
|
||||||
|
- name: split
|
||||||
|
args: ["/", 1]
|
||||||
|
downloadvolumefactor:
|
||||||
|
case:
|
||||||
|
tr.darmowy: 0
|
||||||
|
"*": 1
|
||||||
|
uploadvolumefactor:
|
||||||
|
text: 1
|
||||||
|
# engine n/a
|
Reference in New Issue
Block a user