Skip to content

Commit

Permalink
jackett indexers as of 75d6b0871396e12e0627eb638b51e2f2d9f85a60 [2024…
Browse files Browse the repository at this point in the history
…-11-14T04:20:13Z]
  • Loading branch information
bakerboy448 committed Nov 14, 2024
1 parent 28645c7 commit ec3a617
Show file tree
Hide file tree
Showing 2 changed files with 118 additions and 2 deletions.
4 changes: 2 additions & 2 deletions definitions/v10/rudub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ type: semi-private
encoding: windows-1251
followredirect: true
links:
- https://13november.rudub.online/
- https://14november.rudub.online/
legacylinks:
- https://rudub.online/
- https://14october.rudub.online/
- https://15october.rudub.online/
- https://16october.rudub.online/
Expand Down Expand Up @@ -42,6 +41,7 @@ legacylinks:
- https://10november.rudub.online/
- https://11november.rudub.online/
- https://12november.rudub.online/
- https://13november.rudub.online/

caps:
categorymappings:
Expand Down
116 changes: 116 additions & 0 deletions definitions/v10/ygg-api.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
---
id: ygg-api
name: Ygg API
description: Indexeur non officiel pour ygg.re MOVIES / TV
language: fr-FR
type: private
encoding: UTF-8
testlinktorrent: false
links:
- https://yggapi.eu/

caps:
categorymappings:
- {id: 2178, cat: Movies/Other, desc: "Films d’animation"}
- {id: 2179, cat: TV/Anime, desc: "Séries d’animation / Mangas"}
- {id: 2183, cat: Movies, desc: "Films"}
- {id: 2184, cat: TV, desc: "Séries"}

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

settings:
- name: passkey
type: password
label: Passkey
- name: info_key
type: info
label: About your passkey
default: "You will find your passkey on the <a href=\"https://www.ygg.re/user/account\" target=\"_blank\">YGG</a> account page."
- name: sort
type: select
label: Sort requested from site
default: uploaded_at
options:
uploaded_at: publish_date
seed: seeders
- 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: FRENCH
options:
FRENCH: FRENCH
MULTi.FRENCH: MULTi.FRENCH
ENGLISH: ENGLISH
MULTi.ENGLISH: MULTi.ENGLISH
VOSTFR: VOSTFR
MULTi.VOSTFR: MULTi.VOSTFR
- name: info_downloads
type: info
label: About missing Downloads
default: "If the torrent has no seeder and no leecher then the torrent file may be missing and download may fail."

search:
paths:
- path: torrents
response:
type: json
inputs:
$raw: "{{ range .Categories }}&category_id={{.}}{{end}}"
q: "{{ .Keywords }}"
page: 1
per_page: 100
order_by: "{{ .Config.sort }}"

rows:
selector: $
missingAttributeEqualsNoResults: true

fields:
category:
selector: category_id
title_normal:
selector: title
title_multilang:
text: "{{ .Result.title_normal }}"
filters:
- name: re_replace
args: ["(?i)[\\.](MULTI(?!.*(?:FRENCH|ENGLISH|VOSTFR)))[\\.]", ".{{ .Config.multilanguage }}."]
title:
text: "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_normal }}{{ end }}"
_id:
selector: id
details:
text: "torrent/{{ .Result._id }}"
download:
text: "torrent/{{ .Result._id }}/download?passkey={{ .Config.passkey }}"
year:
selector: title
filters:
- name: regexp
args: (\b(19|20)\d{2}\b)
size:
selector: size
seeders:
selector: seeders
leechers:
selector: leechers
grabs:
selector: downloads
optional: true
default: 0
date:
# unix
selector: uploaded_at
downloadvolumefactor:
text: 1
uploadvolumefactor:
text: 1
# JSON 1.0.0

0 comments on commit ec3a617

Please sign in to comment.