Skip to content

Commit

Permalink
jackett indexers as of 348996e568d986889cb9d3c3c71a6e58efa33774
Browse files Browse the repository at this point in the history
  • Loading branch information
mynameisbogdan committed Oct 22, 2023
1 parent 922b3cb commit 83f2934
Show file tree
Hide file tree
Showing 29 changed files with 342 additions and 161 deletions.
6 changes: 0 additions & 6 deletions definitions/v7/aither-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ caps:
- {id: 9, cat: TV/Sport, desc: "Sport"}
- {id: 2, cat: TV, desc: "TV"}
- {id: 3, cat: Audio, desc: "Music"}
- {id: 4, cat: Console, desc: "Games"}
- {id: 10, cat: PC, desc: "Software & Apps"}
- {id: 11, cat: Books, desc: "Ebooks & Magazines"}
- {id: 14, cat: Audio/Audiobook, desc: "Audiobooks"}
- {id: 15, cat: Other, desc: "Education"}
- {id: 6, cat: XXX, desc: "XXX"}

modes:
search: [q]
Expand Down
4 changes: 2 additions & 2 deletions definitions/v7/animetracker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ links:
caps:
categorymappings:
- {id: 7, cat: TV/Anime, desc: "Series English"}
- {id: 16, cat: TV/Anime, desc: "ongoing"}
- {id: 16, cat: TV/Anime, desc: "Ongoing"}
- {id: 11, cat: TV/Anime, desc: "Series Non-English"}
- {id: 1, cat: TV/Anime, desc: "Raws"}
- {id: 2, cat: TV/Anime, desc: "OVA"}
Expand Down Expand Up @@ -166,4 +166,4 @@ search:
minimumseedtime:
# 5 day (as seconds = 5 x 24 x 60 x 60)
text: 432000
# json UNIT3D 6.4.0
# json UNIT3D 6.4.1
9 changes: 9 additions & 0 deletions definitions/v7/danishbytes-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,15 @@ search:
selector: poster_image
genre:
selector: meta_genres
filters:
- name: re_replace
args: ["(?i)(Action og eventyr)", "Action_og_eventyr"]
- name: re_replace
args: ["(?i)(Sci-fi og Fantasy)", "Sci-fi_og_Fantasy"]
- name: re_replace
args: ["(?i)(Stand-Up Comedy)", "Stand-Up_Comedy"]
- name: replace
args: [" & ", "_&_"]
description:
text: "{{ .Result.genre }}"
imdbid:
Expand Down
2 changes: 1 addition & 1 deletion definitions/v7/datascene-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ caps:
- {id: 3, cat: Audio, desc: "Music"}
- {id: 4, cat: PC/Games, desc: "Game"}
- {id: 5, cat: PC/0day, desc: "Application"}
- {id: 6, cat: XXX, desc: "XXX"}
- {id: 6, cat: XXX, desc: "18+"}
- {id: 7, cat: PC/Mobile-Other, desc: "Mobile"}
- {id: 8, cat: Books/EBook, desc: "E-Book"}

Expand Down
151 changes: 151 additions & 0 deletions definitions/v7/dreamingtree.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
---
id: dreamingtree
name: DreamingTree
description: "DreamingTree is a Semi-Private Torrent Tracker for DAVE MATHEWS MUSIC / BOOTLEGS"
language: en-US
type: semi-private
encoding: UTF-8
links:
- https://dreamingtree.org/

caps:
categorymappings:
- {id: 1, cat: Audio, desc: Music}

modes:
search: [q]
music-search: [q, year, genre]

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: time
options:
time: created
seeders: seeders
size: size
- name: type
type: select
label: Order requested from site
default: desc
options:
desc: desc
asc: asc
- name: info_tpp
type: info
label: Results Per Page
default: For best results, change the <b>Covers per page:</b> setting to <b>100</b> on your account profile.

login:
path: login.php
method: form
form: form[action="login.php"]
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
keeplogged: 1
login: "Log in"
error:
- selector: span.warning
message:
selector: span[class="warning"]:not(:contains("JavaScript"))
test:
path: index.php
selector: a[href^="logout.php"]

search:
paths:
- path: torrents.php
inputs:
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
searchstr: "{{ .Keywords }}"
# freetorrent: 0 normal, 1 freeleech, 2 neutral leech, 3 either
freetorrent: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
# we can only grab the first release if group_results=1
group_results: 0
action: advanced
year: "{{ .Query.Year }}"
taglist: "{{ .Query.Genre }}"
order_by: "{{ .Config.sort }}"
order_way: "{{ .Config.type }}"
searchsubmit: 1

rows:
selector: tr.torrent

fields:
category:
text: 1
title_artist:
selector: a[href^="artist.php?id="]
optional: true
filters:
- name: append
args: " - "
title_name:
selector: a[href^="torrents.php?id="]
year:
selector: div.group_info.clear
filters:
- name: regexp
args: "\\[(\\d{4})\\]"
title:
text: "{{ .Result.title_artist }}{{ .Result.title_name }} [{{ .Result.year }}]"
details:
selector: a[href^="torrents.php?id="]
attribute: href
poster:
selector: img
attribute: src
filters:
- name: replace
args: ["static/common/noartwork/music.png", ""]
genre:
selector: div.tags
description_info:
selector: div.torrent_info
description:
text: "{{ .Result.description_info }}</br>{{ .Result.genre }}"
download:
selector: span > a[href^="torrents.php?action=download&id="]
attribute: href
date:
selector: span.time.tooltip
filters:
- name: timeago
size:
selector: td.number_column.nobr
files:
selector: td:nth-last-child(6)
seeders:
selector: td:nth-last-child(2)
leechers:
selector: td:nth-last-child(1)
grabs:
selector: td:nth-last-child(3)
downloadvolumefactor:
case:
div.torrent_info:contains("Freeleech"): 0
div.torrent_info:contains("Neutral Leech"): 0
"*": 1
uploadvolumefactor:
case:
div.torrent_info:contains("Neutral Leech"): 0
"*": 1
minimumratio:
text: 0.6
minimumseedtime:
# 3 days (as seconds = 3 x 24 x 60 x 60)
text: 259200
# engine n/a
4 changes: 2 additions & 2 deletions definitions/v7/jptv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ caps:
categorymappings:
- {id: 1, cat: Movies, desc: "Movies"}
- {id: 2, cat: TV, desc: "TV Shows"}
- {id: 6, cat: TV, desc: "TS Firehose (RAW TS)"}
- {id: 6, cat: TV, desc: "TS Firehose"}
- {id: 7, cat: Movies/Other, desc: "Anime Movies"}
- {id: 9, cat: TV/Anime, desc: "Anime Series"}
- {id: 8, cat: Audio, desc: "Music"}
- {id: 8, cat: Audio, desc: "Audio"}
- {id: 10, cat: Books, desc: "Book"}

modes:
Expand Down
Loading

0 comments on commit 83f2934

Please sign in to comment.