remove redacted-scrape

This commit is contained in:
kaso17 2017-05-15 07:23:01 +02:00
parent f6e0d7d239
commit a46b75bef7
1 changed files with 0 additions and 103 deletions

View File

@ -1,103 +0,0 @@
---
site: redacted-scrape
name: Redacted (scrape)
description: "A music tracker"
language: en-us
type: private
encoding: UTF-8
links:
- https://redacted.ch/
caps:
categorymappings:
- {id: 1, cat: Audio, desc: "Music"}
- {id: 2, cat: PC, desc: "Applications"}
- {id: 3, cat: Books, desc: "E-Books"}
- {id: 4, cat: Audio/Audiobook, desc: "Audiobooks"}
- {id: 5, cat: Movies, desc: "E-Learning Videos"}
- {id: 6, cat: TV, desc: "Comedy"}
- {id: 7, cat: Books/Comics, desc: "Comics"}
modes:
search: [q]
tv-search: [q, season, ep]
login:
path: login.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
keeplogged: 1
login: "Log in"
error:
- selector: form#loginform > span.warning
test:
path: torrents.php
ratio:
path: torrents.php
selector: li#stats_ratio > span
search:
path: torrents.php
inputs:
$raw: "{{range .Categories}}filter_cat[{{.}}]=1&{{end}}"
searchstr: "{{ .Query.Keywords }}"
order_by: time
order_way: desc
action: basic
searchsubmit: 1
rows:
selector: table#torrent_table > tbody > tr.torrent
fields:
download:
selector: a[href^="torrents.php?action=download&id="]
attribute: href
description:
selector: div.group_info
remove: span
title:
selector: div.group_info
remove: span, div.tags
filters:
- name: replace
args: [" / Neutral Leech!", ""]
- name: replace
args: [" / Freeleech!", ""]
category:
selector: td.cats_col
case:
div.cats_music: 1
div.cats_applications: 2
div.cats_ebooks: 3
div.cats_audiobooks: 4
div.cats_elearningvideos: 5
div.cats_comedy: 6
div.cats_comics: 7
comments:
selector: a[href^="torrents.php?id="]
attribute: href
files:
selector: td:nth-child(3)
date:
selector: td:nth-child(4)
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:
"strong.tl_free": "0"
"strong.tl_neutral": "0"
":root div.alertbar:contains(\"freeleech\")": "0"
":root div.alertbar:contains(\"FREELEECH\")": "0"
"*": "1"
uploadvolumefactor:
case:
"strong.tl_neutral": "0"
"*": "1"