Add Insane Tracker

This commit is contained in:
kaso17
2017-02-02 17:47:16 +01:00
parent fb5b5dc99c
commit c60b35058d
3 changed files with 129 additions and 0 deletions

View File

@@ -91,6 +91,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* Immortalseed
* Infinity-T
* inPeril
* Insane Tracker
* IPTorrents
* JPopsuki
* Kapaki

View File

@@ -0,0 +1,125 @@
---
site: insanetracker
name: Insane Tracker
language: hu-hu
type: private
encoding: UTF-8
links:
- https://newinsane.info/
caps:
categories:
8: TV/SD # Sorozat/Hun
40: TV/HD # Sorozat/Hun/HD
41: Movies/SD # Film/Hun/SD
15: Movies/DVD # Film/Hun/DVD-R
27: Movies/HD # Film/Hun/HD
44: Movies/HD # Film/Hun/UHD
2: Books # eBook/Hun
7: TV/SD # Sorozat/Eng
39: TV/HD # Sorozat/Eng/HD
42: Movies/SD # Film/Eng/SD
14: Movies/DVD # Film/Eng/DVD-R
25: Movies/HD # Film/Eng/HD
45: Movies/HD # Film/Eng/UHD
1: Books # eBook/Eng
38: Audio/Audiobook # Hangoskönyv
21: XXX # XXX
4: PC/ISO # Program/ISO
19: Audio/Other # Zene/Hun
37: Audio/Lossless # Lossless/Hun
9: PC/Games # Játék/ISO
43: Console # Játék/Konzol
29: Other # Képek
28: XXX/Imageset # XXX Képek
3: PC/0day # Program/Egyéb
18: Audio/Other # Zene/Eng
26: Audio/Lossless # Lossless/Eng
11: PC/Games # Játék/Rip
13: PC/Phone-Other # Mobil
modes:
search: [q]
tv-search: [q, season, ep]
login:
path: takelogin.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
notsecure: "1"
error:
- selector: div.login_error_content
test:
path: /browse.php
search:
path: /browse.php
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
search: "{{ .Query.Keywords }}"
t: "all"
rows:
selector: table.torrentable > tbody > tr:has(td.maintd)
fields:
title:
selector: div.tortitle > a
attribute: title
category:
selector: a[href^="browse.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
details:
selector: div.tortitle > a
attribute: href
download:
selector: a[href^="download.php/"]
attribute: href
imdb|optional:
selector: a[title="IMDb link"]
attribute: href
banner|optional|1:
selector: img[alt="offer"]
attribute: src
banner|optional|2:
selector: a.cover
attribute: href
files:
selector: td:nth-child(6)
size:
selector: td:nth-child(8)
grabs:
selector: td:nth-child(9) > div:first-child
filters:
- name: regexp
args: "^([\\.\\d]+)"
seeders:
selector: td:nth-child(9) > div:first-child
filters:
- name: regexp
args: "\\|\\s*([\\.\\d]+)\\s*\\|"
leechers:
selector: td:nth-child(9) > div:first-child
filters:
- name: regexp
args: "([\\.\\d]+)$"
date:
selector: td.date
filters:
- name: dateparse
args: "2006.01.02 15:04:05"
downloadvolumefactor:
text: "0"
uploadvolumefactor:
case:
img[src^="pic/4x.gif"]: "4"
img[src^="pic/3x.gif"]: "3"
img[src^="pic/2x.gif"]: "2"
"*": "1"
description:
selector: td.maintd
remove: div.tortitle, div.markcont, div.tablebuttons, div.tablebigbuttons

View File

@@ -627,6 +627,9 @@
<Content Include="Definitions\losslessclub.yml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Definitions\insanetracker.yml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="Definitions\passtheheadphones-scrape.yml" />
<None Include="packages.config">
<SubType>Designer</SubType>