Skip to content

Commit

Permalink
jackett indexers as of 409407f38bdad7e82a5740be0063b0be193718f6 [2024…
Browse files Browse the repository at this point in the history
…-11-15T01:18:35Z]
  • Loading branch information
bakerboy448 committed Nov 15, 2024
1 parent 737271c commit a7cd4e8
Show file tree
Hide file tree
Showing 6 changed files with 195 additions and 10 deletions.
173 changes: 173 additions & 0 deletions definitions/v10/lemonhd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
---
id: lemonhd
name: LemonHD
description: "LemonHD is a CHINESE Private Torrent Tracker for HD MOVIES / TV"
language: zh-CN
type: private
encoding: UTF-8
links:
- https://lemonhd.club/
legacylinks:
- https://leaguehd.com/
- https://lemonhd.org/

caps:
categorymappings:
- {id: 401, cat: Movies, desc: "Movies/电影"}
- {id: 411, cat: Audio, desc: "Music/无损音乐"}
- {id: 405, cat: TV/Anime, desc: "Animations/动漫"}
- {id: 406, cat: Audio/Video, desc: "Music Videos/音乐MV"}
- {id: 404, cat: TV/Documentary, desc: "Documentaries/纪录片"}
- {id: 402, cat: TV, desc: "TV Series/剧集"}
- {id: 403, cat: TV, desc: "TV Shows/综艺"}
- {id: 410, cat: Movies/3D, desc: "Movies 3D"}

modes:
search: [q]
tv-search: [q, season, ep, imdbid, doubanid]
movie-search: [q, imdbid, doubanid]
music-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: 4
options:
4: created
7: seeders
5: size
1: title
- 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>Torrents per page:</b> setting to <b>100</b> on your account profile.

login:
path: login.php
method: form
form: form[action="takelogin.php"]
captcha:
type: image
selector: img[alt="CAPTCHA"]
input: imagestring
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
logout: ""
securelogin: ""
ssl: yes
trackerssl: yes
error:
- selector: td.embedded:has(h2:contains("失败"))
test:
path: index.php
selector: a[href$="logout.php"]

search:
paths:
- path: torrents.php
inputs:
$raw: "{{ range .Categories }}cat{{.}}=1&{{end}}"
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if or .Query.IMDBID .Query.DoubanID }} {{ else }}{{ .Keywords }}{{ end }}{{ if .Query.DoubanID }}{{ .Query.DoubanID }}{{ else }}{{ end }}"
# 0 incldead, 1 active, 2 justdead
incldead: 0
# promotion: 0 all, 1 normal, 2 free, 3 2x, 4 2xfree, 5 50%, 6 2x 50%, 7 30%
spstate: "{{ if .Config.freeleech }}2{{ else }}0{{ end }}"
# 0 title, 1 descr, 3 uploader, 4 imdb, 5 douban
search_area: "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if .Query.DoubanID }}5{{ else }}{{ end }}{{ if or .Query.IMDBID .Query.DoubanID }}{{ else }}0{{ end }}"
# 0 AND, 1 OR, 2 exact
search_mode: 0
sort: "{{ .Config.sort }}"
type: "{{ .Config.type }}"
notnewword: 1

rows:
selector: table.torrents > tbody > tr:has(table.torrentname)

fields:
category:
selector: a[href*="?cat="]
attribute: href
filters:
- name: querystring
args: cat
title:
selector: a[href*="details.php?id="] > b[title]
attribute: title
details:
selector: a[title][href*="details.php?id="]
attribute: href
download:
selector: a[href*="download.php?id="]
attribute: href
imdbid:
selector: a[href*="imdb.com/title/tt"]
attribute: href
doubanid:
selector: a[href*="movie.douban.com/subject/"]
attribute: href
date_elapsed:
# time type: time elapsed (default)
selector: td.rowfollow:nth-child(4) > span[title]
attribute: title
optional: true
filters:
- name: append
args: " +08:00" # CST
- name: dateparse
args: "yyyy-MM-dd HH:mm:ss zzz"
date_added:
# time added
selector: td.rowfollow:nth-child(4):not(:has(span))
optional: true
filters:
- name: append
args: " +08:00" # CST
- name: dateparse
args: "yyyy-MM-ddHH:mm:ss zzz"
date:
text: "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
size:
selector: td.rowfollow:nth-child(5)
seeders:
selector: td.rowfollow:nth-child(6)
leechers:
selector: td.rowfollow:nth-child(7)
grabs:
selector: td.rowfollow:nth-child(8)
downloadvolumefactor:
case:
img.pro_free: 0
img.pro_free2up: 0
img.pro_50pctdown: 0.5
img.pro_50pctdown2up: 0.5
img.pro_30pctdown: 0.3
"*": 1
uploadvolumefactor:
case:
img.pro_50pctdown2up: 2
img.pro_free2up: 2
img.pro_2up: 2
"*": 1
description:
selector: td:nth-child(2)
remove: a, img
# NexusPHP Standard v1.5 Beta 4
14 changes: 12 additions & 2 deletions definitions/v10/mactorrentsdownload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,19 @@ settings:
type: info_flaresolverr

download:
selectors:
- selector: a[href$=".torrent"]
before:
pathselector:
selector: a[href^="/download?"]
attribute: href
filters:
- name: replace
args: ["/download?", "/download/?"]
selectors:
- selector: script:contains("downloadLink")
usebeforeresponse: true
filters:
- name: regexp
args: "downloadLink = '(.+?)';"

search:
paths:
Expand Down
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://14november.rudub.online/
- https://15november.rudub.online/
legacylinks:
- https://14october.rudub.online/
- https://15october.rudub.online/
- https://16october.rudub.online/
- https://17october.rudub.online/
Expand Down Expand Up @@ -42,6 +41,7 @@ legacylinks:
- https://11november.rudub.online/
- https://12november.rudub.online/
- https://13november.rudub.online/
- https://14november.rudub.online/

caps:
categorymappings:
Expand Down
7 changes: 4 additions & 3 deletions definitions/v10/torrentqq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ type: public
encoding: UTF-8
followredirect: true
links:
- https://torrentqq341.com/
- https://torrentegg33.com/
- https://torrentqq342.com/
- https://torrentegg34.com/
legacylinks:
- https://torrentqq326.com/
- https://torrentqq327.com/
- https://torrentqq328.com/
- https://torrentqq329.com/
Expand All @@ -30,6 +29,8 @@ legacylinks:
- https://torrentegg31.com/
- https://torrentqq340.com/
- https://torrentegg32.com/
- https://torrentegg33.com/
- https://torrentqq341.com/

caps:
categorymappings:
Expand Down
6 changes: 3 additions & 3 deletions definitions/v10/torrentsir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ type: public
encoding: UTF-8
followredirect: true
links:
- https://torrentsir157.com/
- https://torrentsir158.com/
legacylinks:
- http://torrentsir148.com/
- https://torrentsir148.com/
- http://torrentsir149.com/
- https://torrentsir149.com/
- http://torrentsir150.com/
Expand All @@ -28,6 +26,8 @@ legacylinks:
- http://torrentsir156.com/
- https://torrentsir156.com/
- http://torrentsir157.com/
- https://torrentsir157.com/
- http://torrentsir158.com/

caps:
categorymappings:
Expand Down
1 change: 1 addition & 0 deletions definitions/v10/vault-network.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ caps:
- {id: 40, cat: TV, desc: "Christmas TV"}
- {id: 29, cat: Console, desc: "Games"}
- {id: 42, cat: PC/Games, desc: "Games PC"}
- {id: 43, cat: Console/Wii, desc: "Games Wii"}
- {id: 28, cat: Audio, desc: "Karaoke"}
- {id: 7, cat: Movies/HD, desc: "Movie 1080p"}
- {id: 6, cat: Movies/UHD, desc: "Movie 4K"}
Expand Down

0 comments on commit a7cd4e8

Please sign in to comment.