Skip to content

Commit

Permalink
jackett indexers as of 5bc872e8beddb3a92216571f84e398175361334b
Browse files Browse the repository at this point in the history
  • Loading branch information
mynameisbogdan committed Dec 10, 2023
1 parent a620cb5 commit de2a4b3
Show file tree
Hide file tree
Showing 3 changed files with 136 additions and 1 deletion.
2 changes: 1 addition & 1 deletion definitions/v7/abtorrents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ search:
grabs:
selector: a[href^="snatches.php?id="]
seeders:
selector: a[href^="peerlist_xbt.php?id="]
selector: td:nth-last-child(3) div:nth-last-child(2)
leechers:
selector: td:nth-last-child(3) div:last-child
downloadvolumefactor:
Expand Down
1 change: 1 addition & 0 deletions definitions/v7/divteam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ caps:
- {id: 49, cat: Books/Technical, desc: "eLearning"}
- {id: 68, cat: Books/Technical, desc: "eLearning Multimedia"}
- {id: 87, cat: Audio/Audiobook, desc: "Audiolibros"}
- {id: 0, cat: Other, desc: "Otros"} # results can have a category of 0, but searching by category 0 returns all results

modes:
search: [q]
Expand Down
134 changes: 134 additions & 0 deletions definitions/v7/enthralled.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
---
id: enthralled
name: Enthralled
description: "Enthralled is a Private Torrent Tracker for FETISH 3X"
language: en-US
type: private
encoding: UTF-8
links:
- https://www.enthralled.me/

caps:
categorymappings:
- {id: 1, cat: XXX, desc: "FemDom"}
- {id: 2, cat: XXX, desc: "LezDom"}
- {id: 4, cat: XXX, desc: "POV"}
- {id: 5, cat: XXX, desc: "Scat"}
- {id: 3, cat: XXX, desc: "TransDom"}

modes:
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: 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>Torrents per page:</b> setting to <b>100</b> on your account profile.

login:
path: login
method: form
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
cinfo: "2550|1350|24|-60"
keeploggedin: 1
error:
- selector: div.error
test:
path: index.php
selector: "#nav_userinfo"

search:
paths:
- path: torrents.php
inputs:
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
title: "{{ .Keywords }}"
order_by: "{{ .Config.sort }}"
order_way: "{{ .Config.type }}"
action: advanced
filter_freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"

rows:
selector: table#torrent_table > tbody > tr[class^="torrent row"]

fields:
category:
selector: a[href*="filter_cat"]
attribute: href
filters:
- name: regexp
args: "(\\d+)]=1"
title:
selector: a[href^="/torrents.php?id="]
details:
selector: a[href^="/torrents.php?id="]
attribute: href
download:
selector: a[href^="/torrents.php?action=download&id="]
attribute: href
poster:
selector: td:nth-child(2) > script
filters:
- name: regexp
args: "src=\\\\\"(.*?)\\\\\""
- name: re_replace
args: ["\\\\(.)", "$1"]
- name: replace
args: ["/static/common/noartwork/noimage.png", ""]
files:
selector: td:nth-child(3)
date:
selector: td:nth-child(5) > span
attribute: title
# auto adjusted by site account profile
filters:
- name: dateparse
args: "MMM dd yyyy, HH:mm"
size:
selector: td:nth-child(6)
grabs:
selector: td:nth-child(7)
seeders:
selector: td:nth-child(8)
leechers:
selector: td:nth-child(9)
downloadvolumefactor:
case:
span.icon[title*="Freeleech"]: 0
"img[alt=\"Freeleech\"]": 0
"*": 1
uploadvolumefactor:
text: 1
minimumratio:
text: 0.5
description:
optional: true
selector: div.tags
# Luminance

0 comments on commit de2a4b3

Please sign in to comment.