Skip to content

Commit

Permalink
jackett indexers as of 27e82928f231d635f3682720e4b421afc27fc1f3
Browse files Browse the repository at this point in the history
  • Loading branch information
mynameisbogdan committed Nov 9, 2023
1 parent 5b620ca commit b1e911e
Show file tree
Hide file tree
Showing 36 changed files with 397 additions and 96 deletions.
7 changes: 3 additions & 4 deletions definitions/v7/anilibria.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,10 @@ search:
selector: ..code
details:
text: "{{ .Config.sitelink }}release/{{ .Result._code }}.html"
download:
download_url:
selector: url
filters:
- name: prepend
args: "{{ .Config.sitelink }}"
download:
text: "{{ .Config.sitelink }}{{ .Result.download_url }}"
magnet:
selector: magnet
poster:
Expand Down
2 changes: 1 addition & 1 deletion definitions/v7/animetime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ search:
title:
selector: div.flex.flex-wrap ~ p
details:
text: "{{ .Config.sitelink }}search?query={{ .Result.title }}"
text: /
download:
selector: a[href*="/download/"]
attribute: href
Expand Down
2 changes: 1 addition & 1 deletion definitions/v7/bangumi-moe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ search:
title:
selector: title
details:
text: "{{ .Config.sitelink }}"
text: /
infohash:
selector: infoHash
poster:
Expand Down
67 changes: 67 additions & 0 deletions definitions/v7/biatch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
---
id: biatch
name: BiatchTorrents
description: "BiatchTorrents is a FRENCH Public torrent site for MOVIES / TV / GENERAL"
type: public
language: fr-FR
encoding: UTF-8
links:
- https://biat.ch/

caps:
categories:
Other: Other

modes:
search: [q]

settings: []

search:
paths:
- path: search
method: get
response:
type: json

inputs:
$raw: "format=json&q={{ .Keywords }}"
keywordsfilters:
# ignore ' (e.g. search for america's Next Top Model)
- name: re_replace
args: ["[^\\w]+", " "]

rows:
selector: $

fields:
_id:
selector: id
category:
text: Other
title:
selector: name
details:
text: "{{ .Config.sitelink }}"
download:
text: "download?id={{ .Result._id }}"
infohash:
text: "{{ .Result._id }}"
date:
selector: date
size:
selector: size
filters:
- name: re_replace
args: ["(\\w)o", "$1B"]
grabs:
selector: completed
seeders:
selector: seeders
leechers:
selector: leechers
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1
# json engine n/a
22 changes: 3 additions & 19 deletions definitions/v7/cpasbienclone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,26 +118,10 @@ search:
selector: div.poid
filters:
- name: re_replace
args: ["\\.(\\d)Ko", "$1X00"]
args: ["(\\w)o", "$1B"]
# keyword search returns nnnnn.n in MB but without unit indicator
- name: re_replace
args: ["Ko", "000"]
- name: re_replace
args: ["\\.(\\d)Mo", "$1X00000"]
- name: re_replace
args: ["Mo", "000000"]
- name: re_replace
args: ["\\.(\\d)Go", "$1X00000000"]
- name: re_replace
args: ["Go", "000000000"]
- name: re_replace
args: ["\\.(\\d)To", "$1X00000000000"]
- name: re_replace
args: ["To", "000000000000"]
- name: replace
args: ["X", ""]
# this is for the search with keywords which returns sizes nnnnn.n without unit indicator.
- name: re_replace
args: ["(\\d+)\\.\\d", "$1 MB"]
args: ["(\\d+\\.\\d)$", "$1MB"]
date:
text: now
seeders_optional:
Expand Down
4 changes: 2 additions & 2 deletions definitions/v7/danishbytes-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ search:
title:
selector: name
details:
text: "{{ .Config.sitelink }}torrents/{{ .Result._id }}"
text: "/torrents/{{ .Result._id }}"
download:
text: "{{ .Config.sitelink }}torrent/download/{{ .Result._id }}.{{ .Config.rsskey }}"
text: "/torrent/download/{{ .Result._id }}.{{ .Config.rsskey }}"
infohash:
selector: info_hash
poster:
Expand Down
6 changes: 3 additions & 3 deletions definitions/v7/digitalcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ search:
_id:
selector: id
details:
text: "{{ .Config.sitelink }}torrent/{{ .Result._id }}/"
text: "/torrent/{{ .Result._id }}/"
download:
text: "{{ .Config.sitelink }}api/v1/torrents/download/{{ .Result._id }}"
text: "/api/v1/torrents/download/{{ .Result._id }}"
imdbid:
selector: imdbid2
imdbid_full:
Expand All @@ -150,7 +150,7 @@ search:
selector: firstpic
poster_imdb:
optional: true
text: "{{ if .Result.imdbid }}{{ .Config.sitelink }}img/imdb/{{ .Result.imdbid_full }}.jpg{{ else }}{{ end }}"
text: "{{ if .Result.imdbid }}/img/imdb/{{ .Result.imdbid_full }}.jpg{{ else }}{{ end }}"
poster:
text: "{{ if .Result.poster_imdb }}{{ .Result.poster_imdb }}{{ else }}{{ .Result.poster_normal }}{{ end }}"
date:
Expand Down
141 changes: 141 additions & 0 deletions definitions/v7/hd-club.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
---
id: hd-club
name: HD-CLUB
description: "HD-CLUB is a CZECH Semi-Private site for TV / MOVIES / GENERAL"
language: cs-CZ
type: semi-private
encoding: UTF-8
links:
- https://freecztorrent.eu/

caps:
categorymappings:
- {id: 11, cat: Movies/HD, desc: "H265-720/1080/2160"}
- {id: 31, cat: Movies/SD, desc: "Divx - Avi"}
- {id: 19, cat: Movies, desc: "Kreslené Filmy"}
- {id: 32, cat: TV/Documentary, desc: "Dokumentární Filmy"}
- {id: 28, cat: TV, desc: "Seriály"}
- {id: 18, cat: TV/HD, desc: "Film Retro"}
- {id: 14, cat: TV/WEB-DL, desc: "TV - WEB- DL x264"}
- {id: 16, cat: TV/HD, desc: "MP4"}
- {id: 15, cat: TV/WEB-DL, desc: "TV - WEB- DL x265"}
- {id: 38, cat: XXX, desc: "XXX"}
- {id: 29, cat: Movies/DVD, desc: "DVD5 / DVD9"}
- {id: 23, cat: Movies/UHD, desc: "Bluray / 4K-UHD"}
- {id: 26, cat: Movies/HD, desc: "HD-720/1080/2160"}
- {id: 34, cat: Movies/3D, desc: "3 D"}
- {id: 35, cat: Movies, desc: "V.I.P Extra"}
- {id: 39, cat: PC, desc: "APP WINDOWS"}
- {id: 41, cat: PC/Mobile-Other, desc: "Mobil-PDA"}
- {id: 25, cat: Audio/Lossless, desc: "Flac"}
- {id: 20, cat: Audio/MP3, desc: "Mp3"}
- {id: 36, cat: Audio, desc: "Retro Hudba"}
- {id: 22, cat: Audio/Audiobook, desc: "Audio kniha"}
- {id: 3, cat: Console, desc: "Games"}
- {id: 5, cat: TV/Anime, desc: "Anime"}

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: freeleech
type: checkbox
label: Search freeleech only
default: false
- name: sort
type: select
label: Sort requested from site
default: 3
options:
3: created
5: seeders
4: size
2: title
- name: type
type: select
label: Order requested from site
default: 2
options:
2: desc
1: asc
- name: info
type: info
label: Results Per Page
default: For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile.

login:
method: post
path: index.php?page=login
inputs:
uid: "{{ .Config.username }}"
pwd: "{{ .Config.password }}"
error:
- selector: td.lista span[style="color:#FF0000;"]
test:
path: index.php
selector: a[href="logout.php"]

search:
paths:
# https://freecztorrent.eu/index.php?page=torrents&active=0&category=26;29&order=3&by=2
- path: index.php
inputs:
page: torrents
search: "{{ .Keywords }}"
category: "{{ if .Categories }}{{ range .Categories }}{{.}};{{end}}{{ else }}0{{ end }}"
# 0 all, 1 active only, 2 dead only
active: 0
order: "{{ .Config.sort }}"
by: "{{ .Config.type }}"

rows:
selector: table.benylista > tbody > tr:has(a[href^="download.php"]):not(:has(a[href$="category=0"]))

fields:
category:
selector: a[href*="category="]
attribute: href
filters:
- name: querystring
args: category
title:
selector: a[href^="index.php?page=torrent-details"]
details:
selector: a[href^="index.php?page=torrent-details"]
attribute: href
download:
selector: a[href^="download.php"]
attribute: href
poster:
selector: img.beny_img
attribute: src
date:
# 07.09.2023 06:20:35
selector: td:nth-child(8)
# auto adjusted by site account profile
filters:
- name: dateparse
args: "dd.MM.yyyy HH:mm:ss"
size:
selector: td:nth-child(9)
seeders:
selector: td:nth-child(10)
leechers:
selector: td:nth-child(11)
grabs:
selector: td:nth-child(10)
downloadvolumefactor:
text: 1
uploadvolumefactor:
text: 1
# xbtit v2.3.1
4 changes: 2 additions & 2 deletions definitions/v7/hebits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ search:
title:
text: "{{ if .Result.title_notenglish }}{{ .Result.title_notenglish }}{{ else }}{{ .Result.title_english }}{{ end }}"
details:
text: "{{ .Config.sitelink }}torrents.php?torrentid={{ .Result._id }}"
text: "/torrents.php?torrentid={{ .Result._id }}"
download:
text: "{{ .Config.sitelink }}torrents.php?action=download&id={{ .Result._id }}"
text: "/torrents.php?action=download&id={{ .Result._id }}"
poster:
selector: ..cover
imdbid:
Expand Down
4 changes: 2 additions & 2 deletions definitions/v7/milkie.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ search:
title:
selector: releaseName
details:
text: "{{ .Config.sitelink }}browse/{{ .Result._id }}"
text: "/browse/{{ .Result._id }}"
_apikey:
text: "{{ .Config.apikey }}"
filters:
- name: urlencode
download:
text: "{{ .Config.sitelink }}api/v1/torrents/{{ .Result._id }}/torrent?key={{ .Result._apikey }}"
text: "/api/v1/torrents/{{ .Result._id }}/torrent?key={{ .Result._apikey }}"
date:
selector: createdAt
size:
Expand Down
2 changes: 1 addition & 1 deletion definitions/v7/nipponsei.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ search:
- name: replace
args: ["[Nipponsei] ", ""]
details:
text: "{{ .Config.sitelink }}"
text: /
download:
selector: a
attribute: href
Expand Down
2 changes: 1 addition & 1 deletion definitions/v7/polishtracker-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ search:
details:
text: "{{ .Config.sitelink }}torrents/{{ .Result._id }}"
download:
text: "https://api-test.pte.nu/download/{{ .Result._id }}"
text: "/download/{{ .Result._id }}"
imdbid:
selector: imdb_id
genre:
Expand Down
Loading

0 comments on commit b1e911e

Please sign in to comment.