Jackett/src/Jackett.Common/Definitions/shellife.yml

83 lines
1.6 KiB
YAML

---
id: shellife
name: Shellife
description: "Shellife (SL) is a Private Torrent Tracker for NON MAINSTREAM MUSIC"
language: en-us
type: private
encoding: UTF-8
links:
- https://shellife.eu/
caps:
categories:
1: Audio
modes:
search: [q]
music-search: [q, album, artist, label, year]
login:
path: takelogin.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: td:has(h2:contains("failed"))
test:
path: browse.php
search:
paths:
- path: browse.php
inputs:
search: "{{ if .Query.Artist }}{{ .Query.Artist }}{{ else }}{{ .Keywords }}{{ end }}"
incldead: 1
rows:
selector: table#ct > tbody > tr.torrent_row
filters:
- name: andmatch
fields:
category:
text: 1
title:
selector: a.altlink
title|append|1:
text: " - "
title|append|2:
selector: a[href^="details.php?id="]
details:
selector: a[href^="details.php?id="]
attribute: href
download:
selector: a[href^="download.php?id="]
attribute: href
date:
text: now
size:
selector: td:nth-child(5)
grabs:
selector: td:nth-child(6)
seeders:
selector: td:nth-child(7)
leechers:
selector: td:nth-child(8)
downloadvolumefactor:
case:
img[alt="Freeleech"]: 0
img[alt="Free"]: 0
"*": 1
uploadvolumefactor:
text: 1
description:
selector: td:nth-child(2)
remove: a.altlink, a[href^="details.php?id="], div[id^="news"]
filters:
- name: trim
args: "-"
- name: trim
args: " "
# engine n/a