Skip to content

Commit

Permalink
jackett indexers as of 41d69fa7acf004dcde24c513dff1fc11bb21d1b6
Browse files Browse the repository at this point in the history
  • Loading branch information
mynameisbogdan committed Sep 23, 2023
1 parent 5302977 commit eb447d1
Show file tree
Hide file tree
Showing 4 changed files with 163 additions and 187 deletions.
90 changes: 0 additions & 90 deletions definitions/v7/btdigg.yml

This file was deleted.

156 changes: 156 additions & 0 deletions definitions/v7/exitorrent-org.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
---
id: exitorrent-org
name: exitorrent.org
description: "exitorrent.org is a POLISH Private Torrent Tracker for MOVIES / TV / GENERAL"
language: pl-PL
type: private
encoding: UTF-8
links:
- https://exitorrent.org/

caps:
categorymappings:
- {id: 1, cat: PC, desc: "Aplikacje PC"}
- {id: 43, cat: Audio/Audiobook, desc: "AudioBooki"}
- {id: 31, cat: Books/EBook, desc: "Ebooki"}
- {id: 33, cat: Movies/BluRay, desc: "Filmy/BluRay"}
- {id: 38, cat: Movies/BluRay, desc: "Filmy/BDRip"}
- {id: 35, cat: Movies/BluRay, desc: "Filmy/BluRay/x264"}
- {id: 45, cat: Movies/BluRay, desc: "Filmy/BluRay/x265"}
- {id: 39, cat: Movies/BluRay, desc: "Filmy/BluRay/Remux"}
- {id: 44, cat: Movies/UHD, desc: "Filmy/UHD/BluRay"}
- {id: 42, cat: Movies/UHD, desc: "Filmy/UHD/Remux"}
- {id: 23, cat: Movies/WEB-DL, desc: "Filmy/WebRip"}
- {id: 28, cat: Movies/Other, desc: "Dla dzieci"}
- {id: 4, cat: PC/Games, desc: "Gry/PC"}
- {id: 7, cat: TV, desc: "Seriale"}
- {id: 2, cat: TV/HD, desc: "Seriale/HD"}

modes:
search: [q]
tv-search: [q, season, ep, imdbid]
movie-search: [q, imdbid]
music-search: [q]
book-search: [q]

settings:
- name: drop_polish_prefix
type: checkbox
label: Drop the Polish title prefix
default: true
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
- 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><li>Open the <b>DevTools</b> panel by pressing <b>F12</b></li><li>Select the <b>Network</b> tab</li><li>Click on the <b>Doc</b> button (Chrome Browser) or <b>HTML</b> button (FireFox)</li><li>Refresh the page by pressing <b>F5</b></li><li>Click on the first row entry</li><li>Select the <b>Headers</b> tab on the Right panel</li><li>Find <b>'cookie:'</b> in the <b>Request Headers</b> section</li><li><b>Select</b> and <b>Copy</b> the whole cookie string <i>(everything after 'cookie: ')</i> and <b>Paste</b> here.</li></ol>"

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: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
# 0 onlyactive, 1 all, 2 onlydead, 3 free
incldead: "{{ if .Config.freeleech }}3{{ else }}1{{ end }}"
# 0 title, 1 descr, 2 both
# titlesearch: "{{ if .Query.IMDBID }}1{{ else }}0{{ end }}"
# 0 all, 1 polish, 2 not polish
polish: 0
podkat: 0
hashTag: 0
blah: 0

keywordsfilters:
# remove the year from the titles as the site chokes on them during search #7424
- name: re_replace
args: [" +(?:19|20)\\d{2} *$", ""]

rows:
selector: table[class="text"][border="0"][cellspacing="0"][cellpadding="4"] > tbody > tr:has(a[href^="details.php?id="]):has(td[class*="tableBody1"])
filters:
- name: andmatch

fields:
category:
selector: a[href^="browse.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
title_raw:
selector: a[href^="details.php?id="]
title_stripped:
selector: a[href^="details.php?id="]
filters:
- name: re_replace
args: ["^(.*/)(.*)$", "$2"]
- name: trim
title:
text: "{{ if .Config.drop_polish_prefix }}{{ .Result.title_stripped }}{{ else }}{{ .Result.title_raw }}{{ end }}"
details:
selector: a[href^="details.php?id="]
attribute: href
download:
selector: a[href^="download.php/"]
attribute: href
imdbid:
selector: a[href*="imdb.com/title/tt"]
attribute: href
genre:
selector: font[color="blue"]
filters:
- name: validate
args: "akcja, animacja, anime, biograficzny, czarna komedia, dokumentalny, dramat, dramat historyczny, edukacyjny, etiuda, familijny, fantasy, gangsterski, historyczny, horror, katastroficzny, komedia, komedia kryminalna, komedia obyczajowa, komedia romantyczna, krótkometrażowy, kryminał, melodramat, musical, muzyczny, niemy, przygodowy, romans, sci-fi, sensacyjny, sportowy, szpiegowski, thriller, western, wojenny"
_language:
optional: true
selector: img[src="pic/pl.jpg"]
filters:
- name: append
args: "Language: polish\n<br>"
_subbed:
optional: true
selector: img[src="pic/napisy.gif"]
filters:
- name: append
args: "Subbed\n<br>"
description:
text: "{{ .Result._language }}{{ .Result._subbed }}{{ if .Result.genre }}Genres: {{ .Result.genre }}{{ else }}{{ end }}"
date:
selector: td:nth-child(5)
# auto adjusted by site account profile
filters:
- name: dateparse
args: "yyyy-MM-ddHH:mm:ss"
size:
selector: td:nth-child(6)
grabs:
selector: td:nth-child(7)
seeders:
selector: td:nth-child(8)
leechers:
selector: td:nth-child(9)
downloadvolumefactor:
case:
tr.darmowy: 0
"*": 1
uploadvolumefactor:
text: 1
minimumseedtime:
# 2 days (as seconds = 2 x 24 x 60 x 60)
text: 172800
#TBSource v1.5.0
15 changes: 7 additions & 8 deletions definitions/v7/hdonly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ caps:

modes:
search: [q]
tv-search: [q, season, ep, genre]
movie-search: [q, genre]
tv-search: [q, season, ep, tmdbid, genre]
movie-search: [q, tmdbid, genre]
allowrawsearch: true

settings:
Expand Down Expand Up @@ -106,8 +106,7 @@ search:
# does not support categories, uses releasetype for single filter, so we cannot do multi releasetype filtering either.
# $raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
searchstr: "{{ .Keywords }}"
# TODO: commented to prevent NullRef, uncomment in v10
# filelist: "{{ re_replace .Query.Episode \"\\bS\\d{1,3}\\b\" \"\" }}"
tmdb: "{{ .Query.TMDBID }}"
taglist: "{{ .Query.Genre }}"
action: browse
group_results: 0
Expand All @@ -120,7 +119,7 @@ search:
keywordsfilters:
# strip season and/or ep
- name: re_replace
args: ["\\b(?:[SE]\\d{1,4}){1,2}\\b", ""]
args: ["(?i)\\bS\\d{1,3}\\b\\b", ""]
- name: trim

rows:
Expand Down Expand Up @@ -218,8 +217,8 @@ search:
selector: vfi
_vf:
selector: vf
_vfo:
selector: vfo
_vof:
selector: vof
_hdr:
selector: hdr
_hdr10plus:
Expand All @@ -236,7 +235,7 @@ search:
- name: replace
args: [".MULTI.MULTI", ".MULTI"]
- name: append
args: "{{ if eq .Result._vfo \"True\" }}.FRENCH{{ else }}{{ end }}"
args: "{{ if eq .Result._vof \"True\" }}.FRENCH{{ else }}{{ end }}"
- name: re_replace
args: ["[\\s.]+", "."]
- name: re_replace
Expand Down
89 changes: 0 additions & 89 deletions definitions/v9/btdigg.yml

This file was deleted.

0 comments on commit eb447d1

Please sign in to comment.