mirror of https://github.com/Jackett/Jackett
Add MySpleen tracker (#829)
This commit is contained in:
parent
bae4752cad
commit
894688337e
|
@ -57,6 +57,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
|
|||
* MoreThanTV
|
||||
* MyAnonamouse
|
||||
* myAmity
|
||||
* MySpleen
|
||||
* NCore
|
||||
* NetHD
|
||||
* NextGen
|
||||
|
|
|
@ -0,0 +1,97 @@
|
|||
---
|
||||
site: myspleen
|
||||
name: MySpleen
|
||||
language: en-us
|
||||
encoding: UTF-8
|
||||
links:
|
||||
- https://www.myspleen.org
|
||||
|
||||
caps:
|
||||
categories:
|
||||
31: TV # Adult Swim
|
||||
30: TV # Animation
|
||||
25: TV # Cartoon Network
|
||||
3: TV # Comedy
|
||||
26: TV # Comedy Central
|
||||
24: TV # MST3K
|
||||
28: TV # MTV
|
||||
29: TV # Nick
|
||||
20: Other # Other
|
||||
32: TV # Star Wars
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
tv-search: [q, season, ep]
|
||||
|
||||
login:
|
||||
path: /takelogin.php
|
||||
method: post
|
||||
inputs:
|
||||
username: "{{ .Config.username }}"
|
||||
password: "{{ .Config.password }}"
|
||||
returnto: "/"
|
||||
error:
|
||||
- selector: div#content:has(h2:contains("Login Failed"))
|
||||
test:
|
||||
path: /browse.php
|
||||
selector: span.key:contains("Ratio") + span.value
|
||||
|
||||
ratio:
|
||||
path: /browse.php
|
||||
selector: span.key:contains("Ratio") + span.value
|
||||
|
||||
search:
|
||||
path: /browse.php
|
||||
method: post
|
||||
inputs:
|
||||
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
|
||||
search: "{{ .Query.Keywords }}"
|
||||
incldead: "1"
|
||||
title: "0"
|
||||
rows:
|
||||
selector: table#main-torrents > tbody > tr
|
||||
fields:
|
||||
title:
|
||||
selector: td.tor-name > a
|
||||
attribute: title
|
||||
category:
|
||||
selector: td[class^="cat-"] > a
|
||||
attribute: href
|
||||
filters:
|
||||
- name: querystring
|
||||
args: cat
|
||||
details:
|
||||
selector: td.tor-name > a
|
||||
attribute: href
|
||||
download:
|
||||
selector: td.tor-down > a
|
||||
attribute: href
|
||||
files:
|
||||
selector: td:nth-child(5)
|
||||
size:
|
||||
selector: td:nth-child(8)
|
||||
grabs:
|
||||
selector: td:nth-child(9)
|
||||
filters:
|
||||
- name: regexp
|
||||
args: "(\\d+)"
|
||||
seeders:
|
||||
selector: td:nth-child(10)
|
||||
filters:
|
||||
- name: regexp
|
||||
args: "^(\\d+)"
|
||||
leechers:
|
||||
selector: td:nth-child(11)
|
||||
filters:
|
||||
- name: regexp
|
||||
args: "^(\\d+)"
|
||||
date:
|
||||
selector: td:nth-child(7)
|
||||
downloadvolumefactor:
|
||||
case:
|
||||
span.star: "0"
|
||||
span.fltime: "0"
|
||||
"*": "1"
|
||||
uploadvolumefactor:
|
||||
case:
|
||||
"*": "1"
|
|
@ -437,6 +437,9 @@
|
|||
<Content Include="Definitions\nethd.yml">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Definitions\myspleen.yml">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<None Include="packages.config">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
|
|
Loading…
Reference in New Issue