Jackett/src/Jackett.Common/Definitions/myspleen.yml

100 lines
2.3 KiB
YAML
Raw Normal View History

---
id: myspleen
name: MySpleen
description: "MySpleen is a Private Torrent Tracker for TV / COMEDY / ANIMATION / 80-90S VHS NOSTALGIA"
language: en-US
type: private
encoding: UTF-8
links:
- https://www.myspleen.org/
caps:
categorymappings:
- {id: 31, cat: TV, desc: "Adult Swim"}
- {id: 30, cat: TV, desc: "Animation"}
- {id: 25, cat: TV, desc: "Cartoon Network"}
- {id: 3, cat: TV, desc: "Comedy"}
- {id: 26, cat: TV, desc: "Comedy Central"}
- {id: 24, cat: TV, desc: "MST3K"}
- {id: 28, cat: TV, desc: "MTV"}
- {id: 29, cat: TV, desc: "Nick"}
- {id: 20, cat: Other, desc: "Other"}
- {id: 32, cat: TV, desc: "Star Wars"}
modes:
search: [q]
tv-search: [q, season, ep]
login:
path: takelogin.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
2020-11-17 06:29:02 +00:00
returnto: /
error:
2021-07-29 00:46:25 +00:00
- selector: div#content:has(h3:contains("Login Failed"))
test:
path: browse.php
selector: span.key:contains("Ratio") + span.value
search:
paths:
- path: browse.php
method: get
inputs:
2020-11-17 06:29:02 +00:00
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
incldead: 1
title: 0
rows:
selector: table#main-torrents > tbody > tr
2020-11-17 06:29:02 +00:00
fields:
category:
selector: td[class^="cat-"] > a
attribute: href
filters:
- name: querystring
args: cat
2020-11-17 06:29:02 +00:00
title:
selector: td.tor-name > a
attribute: title
details:
selector: td.tor-name > a
attribute: href
download:
selector: td.tor-down > a
attribute: href
files:
selector: td:nth-child(5)
2020-11-17 06:29:02 +00:00
date:
selector: td:nth-child(7)
size:
selector: td:nth-child(8)
grabs:
selector: td:nth-child(9)
filters:
2020-05-12 22:08:30 +00:00
- name: regexp
args: "(\\d+)"
seeders:
selector: td:nth-child(10)
filters:
2020-05-12 22:08:30 +00:00
- name: regexp
args: "^(\\d+)"
leechers:
selector: td:nth-child(11)
filters:
2020-05-12 22:08:30 +00:00
- name: regexp
args: "^(\\d+)"
downloadvolumefactor:
case:
2020-11-17 06:29:02 +00:00
span.star: 0
span.fltime: 0
":root li[id=\"alert-fl\"][class=\"alert\"]:contains(\"Freeleech ends in \")": 0
2020-11-17 06:29:02 +00:00
"*": 1
uploadvolumefactor:
2020-11-17 06:29:02 +00:00
text: 1
# engine tbd