Skip to content

Commit

Permalink
jackett indexers as of 0e1759011ee4efb1db822976fcf1a9cb90482ff8
Browse files Browse the repository at this point in the history
  • Loading branch information
mynameisbogdan committed Dec 2, 2023
1 parent cc4bc96 commit 6ac9189
Show file tree
Hide file tree
Showing 10 changed files with 197 additions and 19 deletions.
4 changes: 2 additions & 2 deletions definitions/v7/aidoruonline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ login:
cookie: "{{ .Config.cookie }}"
test:
path: /
selector: a[href="account-logout.php"]
selector: a[href^="torrents-details.php?id="]

search:
paths:
# https://aidoru-online.me/get_ttable.php?pcat=Show+All&scat=3%2C4%2C5%2C6&subbed=&fl=&resd=&p=0&searchstr=peace&deadlive=0&sortcol=id&sortorder=desc&startdt=&enddt=
- path: get_ttable.php
inputs:
pcat: "Show+All"
$raw: "scat={{ range .Categories }}{{.}},{{end}}&"
scat: "{{ join .Categories \",\" }}"
subbed: ""
fl: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
resd: ""
Expand Down
6 changes: 4 additions & 2 deletions definitions/v7/hdgalaktik.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,10 @@ search:
args: cat
title:
selector: a.alink
attribute: title
attribute: onmouseover
filters:
- name: regexp
args: \'>(.+?)</div
# normalize to SXXEYY format
- name: re_replace
args: ["(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)", "S$1E$2 of $3"]
Expand Down Expand Up @@ -219,7 +221,7 @@ search:
selector: td:nth-child(6)
filters:
- name: split
args: ["|", 0]
args: ["|", 1]
date_today:
# Сегодня в 18:22
selector: a[href^="browse.php?date="]:contains("Сегодня")
Expand Down
3 changes: 2 additions & 1 deletion definitions/v7/jpopsuki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ description: "JPopSuki is a Private Torrent Tracker for ASIAN MUSIC"
language: en-US
type: private
encoding: UTF-8
requestDelay: 3
links:
- https://jpopsuki.eu/

Expand Down Expand Up @@ -75,7 +76,7 @@ search:
- path: ajax.php
inputs:
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}{{ if or .Query.Album .Query.Artist .Keywords }}action=advanced{{ else }}searchtags=japanese&tags_type=0{{ end }}"
artistname: "{{ if .Query.Artist }}{{ .Query.Artist }}{{ else }}{{ end }}"
artistname: "{{ .Query.Artist }}"
torrentname: "{{ if .Query.Album }}{{ .Query.Album }}{{ else }}{{ .Keywords }}{{ end }}"
freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
order_by: "{{ .Config.sort }}"
Expand Down
2 changes: 1 addition & 1 deletion definitions/v7/madsrevolution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ search:
inputs:
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}{{ if .Config.freeleech }}action=uploadonly&{{ else }}{{ end }}"
searchstr: "{{ .Keywords }}"
searchtags: "{{ if .Query.Genre }}{{ .Query.Genre }}{{ else }}{{ end }}"
searchtags: "{{ .Query.Genre }}"
# 0 any, 1 all
tags_type: 0
order_by: "{{ .Config.sort }}"
Expand Down
8 changes: 4 additions & 4 deletions definitions/v7/themixingbowl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ search:
inputs:
search: "{{ .Keywords }}"
go: Search
artistsearch: "{{ if .Query.Artist }}{{ .Query.Artist }}{{ else }}{{ end }}"
artistsearch: "{{ .Query.Artist }}"
freesearch: "{{ if .Config.freeleech }}on{{ else }}{{ end }}"
results-order1: "{{ .Config.sort }}.{{ .Config.type }}"
results-page: 1
tagsearch: "{{ range .Categories }}{{.}},{{end}}"
# can search by genre but need join support. &tagsearch=acid,+house for Acid and House

rows:
selector: table.torrenttable > tbody > tr:has(a[href^="/torrent/download/"])
Expand All @@ -107,7 +107,7 @@ search:
artist:
selector: span.artist
optional: true
_tag:
genre:
selector: span.tag
optional: true
_codec:
Expand All @@ -117,7 +117,7 @@ search:
selector: td:nth-child(7)
optional: true
description:
text: "Artist=[{{ .Result.artist }}] , Tags={{ .Result._tag }} , Codec=[{{ .Result._codec }}] , BitRate=[{{ .Result._bit }}]"
text: "Artist=[{{ .Result.artist }}] , Tags={{ .Result.genre }} , Codec=[{{ .Result._codec }}] , BitRate=[{{ .Result._bit }}]"
grabs:
selector: td:nth-child(8)
seeders:
Expand Down
173 changes: 173 additions & 0 deletions definitions/v7/torrentdd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
---
id: torrentdd
name: TorrentDD
description: "TorrentDD is a THAI Private Torrent Tracker for MOVIES / TV / GENERAL"
language: th-TH
type: private
encoding: UTF-8
requestDelay: 2
links:
- https://www.torrentdd.com/

caps:
categorymappings:
- {id: 1, cat: Other, desc: "พระมหากษัตริย์", default: true}
- {id: 2, cat: TV/Anime, desc: "การ์ตูน/อนิเมชั่น", default: true}
- {id: 3, cat: Console, desc: "Game/PSP/ND/Mobile", default: true}
- {id: 4, cat: PC/Games, desc: "Game/Pc/Ps/Xbox", default: true}
- {id: 5, cat: Books/Other, desc: "สื่อเรียนรู้/แม่และเด็ก", default: true}
- {id: 6, cat: Audio/Video, desc: "MV/karaoke", default: true}
- {id: 7, cat: Audio, desc: "เพลง", default: true}
- {id: 8, cat: PC/0day, desc: "OS Windows/Office", default: true}
- {id: 9, cat: PC/0day, desc: "AntiVirus/Antispyware", default: true}
- {id: 10, cat: PC/Mobile-Android, desc: "ซอฟแวร์ มือถือ/ธีม", default: true}
- {id: 11, cat: PC/Mac, desc: "ซอฟแวร์ แม็ค/ลินุกซ์", default: true}
- {id: 12, cat: PC/0day, desc: "ซอฟแวร์ทั่วไป", default: true}
- {id: 13, cat: Audio/Video, desc: "คอนเสิร์ต", default: true}
- {id: 14, cat: Audio/Other, desc: "ทอล์คโชว์/ตลก/วิทยุ", default: true}
- {id: 15, cat: Other/Misc, desc: "ทั่วไป", default: true}
- {id: 16, cat: Books/Other, desc: "ธรรมะ", default: true}
- {id: 17, cat: Other, desc: "font/icon/source", default: true}
- {id: 18, cat: Movies/UHD, desc: "ภาพยนตร์ 4K UHD", default: true}
- {id: 19, cat: Movies/HD, desc: "Hi-Def/Blu Ray", default: true}
- {id: 20, cat: Movies/SD, desc: "ภาพยนตร์ DVD", default: true}
- {id: 21, cat: Movies/SD, desc: "ภาพยนตร์ VCD", default: true}
- {id: 22, cat: Movies/SD, desc: "XviD/DivX/AVI/RM", default: true}
- {id: 23, cat: TV, desc: "รายการทีวี/วาไรตี้", default: true}
- {id: 24, cat: TV/Sport, desc: "กีฬา/ฟุตบอล", default: true}
- {id: 25, cat: Other, desc: "รูปภาพ/วอลเปเปอร์", default: true}
- {id: 26, cat: TV/Documentary, desc: "สารคดี", default: true}
- {id: 27, cat: Books/EBook, desc: "สื่อเรียนรู้/หนังสือ/Ebook", default: true}
- {id: 28, cat: TV/Foreign, desc: "หนังชุด/ซีรีส์ [เกาหลี]", default: true}
- {id: 29, cat: TV/Foreign, desc: "หนังชุด/ซีรีส์ [ญี่ปุ่น]", default: true}
- {id: 30, cat: TV/Foreign, desc: "หนังชุด/ซีรีส์ [จีน]", default: true}
- {id: 31, cat: TV/Foreign, desc: "หนังชุด/ซีรีส์ [ฝรั่ง]", default: true}
- {id: 32, cat: TV, desc: "หนังชุด/ซีรีส์ [ไทย]", default: true}
- {id: 33, cat: TV, desc: "คลิปทั่วไป", default: true}
- {id: 34, cat: XXX, desc: "XXX (uncensor)", default: false}
- {id: 35, cat: XXX, desc: "XXX (censor)", default: false}
- {id: 36, cat: XXX, desc: "XXX Clip", default: false}
- {id: 37, cat: XXX, desc: "XXX cartoon/book/pic", default: false}
- {id: 38, cat: XXX, desc: "XXX Gay/Lesbian", default: false}

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: added
options:
added: created
seeders: seeders
size: size
- name: type
type: select
label: Order requested from site
default: DESC
options:
DESC: desc
ASC: asc

login:
path: takelogin.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: div.alert-warning:contains("Login failed!")
test:
path: home.php
selector: a[href="logout.php"]

download:
selectors:
- selector: button.border-success
attribute: onclick
filters:
- name: regexp
args: \'(.+?)\'

search:
paths:
# https://www.torrentdd.com/browse.php?search=&sort=size&cate=1,4&freeload=yes&odb=DESC
- path: browse.php
categories: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33]
- path: browse18.php
categories: [34, 35, 36, 37, 38]
inputs:
cate: "{{ join .Categories \",\" }}"
freeload: "{{ if .Config.freeleech }}yes{{ else }}{{ end }}"
search: "{{ .Keywords }}"
sort: "{{ .Config.sort }}"
odb: "{{ .Config.type }}"
# site does not support imdbid searching and does not display imdb links in results.

rows:
selector: div.mt-3 table tbody tr:not(:has(label.badge-outline-danger))

fields:
category:
selector: a[href^="?cate="]
attribute: href
filters:
- name: querystring
args: cate
title:
selector: a[href^="details.php?id="]
details:
selector: a[href^="details.php?id="]
attribute: href
download:
selector: a[href^="details.php?id="]
attribute: href
poster:
selector: a.box-poster
attribute: href
filters:
- name: regexp
args: '(.+?\.(jpg|jpeg|bmp|png)$)'
files:
selector: td:nth-last-child(7)
date:
selector: div.mt-2 span:first-child
filters:
- name: append
args: " +07:00" # ICT
- name: dateparse
args: "yyyy-MM-dd HH:mm:ss zzz"
size:
selector: td:nth-last-child(5)
grabs:
selector: td:nth-last-child(4)
seeders:
selector: td:nth-last-child(3)
leechers:
selector: td:nth-last-child(2)
downloadvolumefactor:
case:
label.badge-outline-success: 0
"*": 1
uploadvolumefactor:
case:
label.badge-outline-warning: 2
"*": 1
minimumratio:
text: 1.0
# engine n/a
4 changes: 2 additions & 2 deletions definitions/v7/torrentqq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ type: public
encoding: UTF-8
followredirect: true
links:
- https://torrentqq284.com/
- https://torrentqq285.com/
legacylinks:
- https://torrentqq269.com/
- https://torrentqq270.com/
- https://torrentqq271.com/
- https://torrentqq272.com/
Expand All @@ -24,6 +23,7 @@ legacylinks:
- https://torrentqq281.com/
- https://torrentqq282.com/
- https://torrentqq283.com/
- https://torrentqq284.com/

caps:
categorymappings:
Expand Down
8 changes: 4 additions & 4 deletions definitions/v8/hqmusic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ search:
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
searchstr: "{{ .Keywords }}"
artistname: "{{ if and (.Query.Artist) (ne .Query.Artist \"VA\") }}{{ .Query.Artist }}{{ else }}{{ end }}"
groupname: "{{ if .Query.Album }}{{ .Query.Album }}{{ else }}{{ end }}"
recordlabel: "{{ if .Query.Label }}{{ .Query.Label }}{{ else }}{{ end }}"
year: "{{ if .Query.Year }}{{ .Query.Year }}{{ else }}{{ end }}"
filelist: "{{ if .Query.Track }}{{ .Query.Track }}{{ else }}{{ end }}"
groupname: "{{ .Query.Album }}"
recordlabel: "{{ .Query.Label }}"
year: "{{ .Query.Year }}"
filelist: "{{ .Query.Track }}"
freetorrent: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
taglist: "{{ .Query.Genre }}"
# 0 Any, 1 All
Expand Down
6 changes: 4 additions & 2 deletions definitions/v9/hdgalaktik.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,10 @@ search:
args: cat
title:
selector: a.alink
attribute: title
attribute: onmouseover
filters:
- name: regexp
args: \'>(.+?)</div
# normalize to SXXEYY format
- name: re_replace
args: ["(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)", "S$1E$2 of $3"]
Expand Down Expand Up @@ -220,7 +222,7 @@ search:
selector: td:nth-child(6)
filters:
- name: split
args: ["|", 0]
args: ["|", 1]
date_today:
# Сегодня в 18:22
selector: a[href^="browse.php?date="]:contains("Сегодня")
Expand Down
2 changes: 1 addition & 1 deletion definitions/v9/madsrevolution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ search:
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
action: "{{ if .Config.freeleech }}uploadonly{{ else }}{{ end }}"
searchstr: "{{ .Keywords }}"
searchtags: "{{ if .Query.Genre }}{{ .Query.Genre }}{{ else }}{{ end }}"
searchtags: "{{ .Query.Genre }}"
# 0 any, 1 all
tags_type: 0
order_by: "{{ .Config.sort }}"
Expand Down

0 comments on commit 6ac9189

Please sign in to comment.