Add Shellife tracker

This commit is contained in:
kaso17
2017-01-11 18:17:40 +01:00
parent d9d935c267
commit 2baf645351
3 changed files with 82 additions and 0 deletions

View File

@@ -0,0 +1,78 @@
---
site: shellife
name: Shellife
language: en-us
encoding: UTF-8
links:
- https://shellife.eu/
caps:
categories:
1: Audio
modes:
search: [q]
tv-search: [q, season, ep]
login:
path: takelogin.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: td.embedded:has(h2:contains("failed"))
test:
path: browse.php
search:
path: browse.php
inputs:
search: "{{ .Query.Keywords }}"
incldead: 1
rows:
selector: table#ct > tbody > tr.torrent_row
fields:
download:
selector: a[href^="download.php?id="]
attribute: href
title:
selector: a.altlink
title|append|1:
text: " - "
title|append|2:
selector: a[name]
details:
selector: a[name]
attribute: href
filters:
- name: replace
args: ["#", "/details.php?id="]
category:
text: 1
seeders:
selector: td:nth-child(7)
leechers:
selector: td:nth-child(8)
grabs:
selector: td:nth-child(6)
size:
selector: td:nth-child(5)
downloadvolumefactor:
case:
img[alt="Freeleech"]: "0"
img[alt="Free"]: "0"
"*": "1"
uploadvolumefactor:
case:
"*": "1"
description:
selector: td:nth-child(2)
remove: a.altlink, a[name], div[id^="news"]
filters:
- name: trim
args: "-"
- name: trim
args: " "

View File

@@ -504,6 +504,9 @@
<Content Include="Definitions\funkytorrents.yml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Definitions\shellife.yml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="packages.config">
<SubType>Designer</SubType>
</None>