2018-11-14 16:35:26 +00:00
|
|
|
---
|
2020-05-11 19:59:28 +00:00
|
|
|
id: hdcenter
|
2020-05-10 20:05:19 +00:00
|
|
|
name: HDCenter
|
|
|
|
description: "An German HD tracker"
|
|
|
|
language: de-de
|
|
|
|
type: private
|
|
|
|
encoding: UTF-8
|
|
|
|
links:
|
|
|
|
- https://hdcenter.cc/
|
2018-11-14 16:35:26 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
caps:
|
|
|
|
categorymappings:
|
|
|
|
- {id: 1, cat: Movies/HD, desc: "Movies"}
|
|
|
|
- {id: 2, cat: Movies/3D, desc: "3D"}
|
|
|
|
- {id: 3, cat: TV/HD, desc: "Series"}
|
|
|
|
- {id: 4, cat: TV/Documentary, desc: "Documentary"}
|
|
|
|
- {id: 5, cat: TV/Sport, desc: "Sport"}
|
|
|
|
- {id: 6, cat: XXX, desc: "XXX"}
|
|
|
|
- {id: 7, cat: Audio/Lossless, desc: "Audio"}
|
|
|
|
- {id: 8, cat: PC/0day, desc: "Appz"}
|
|
|
|
- {id: 9, cat: Movies/HD, desc: "HDC"}
|
|
|
|
- {id: 10, cat: Movies/HD, desc: "TvR"}
|
|
|
|
- {id: 11, cat: Movies/HD, desc: "10Bit"}
|
|
|
|
- {id: 12, cat: Movies/HD, desc: "jTV"}
|
|
|
|
- {id: 13, cat: TV/HD, desc: "NERDS"}
|
|
|
|
- {id: 14, cat: Audio/Lossless, desc: "dOWnb3At"}
|
|
|
|
- {id: 15, cat: Movies/Other, desc: "Anime"}
|
|
|
|
- {id: 16, cat: Audio/Video, desc: "Live"}
|
2018-11-14 16:35:26 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
modes:
|
2020-10-19 03:56:16 +00:00
|
|
|
search: [q]
|
2020-05-10 20:05:19 +00:00
|
|
|
tv-search: [q, season, ep, imdbid]
|
|
|
|
movie-search: [q, imdbid]
|
|
|
|
music-search: [q]
|
2018-11-14 16:35:26 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
login:
|
|
|
|
path: login.php
|
|
|
|
method: post
|
|
|
|
inputs:
|
|
|
|
username: "{{ .Config.username }}"
|
|
|
|
password: "{{ .Config.password }}"
|
2020-11-14 22:12:59 +00:00
|
|
|
timeout: 1
|
2020-05-10 20:05:19 +00:00
|
|
|
error:
|
|
|
|
- selector: div#error-text
|
|
|
|
test:
|
|
|
|
path: torrents.php
|
2018-11-14 16:35:26 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
search:
|
|
|
|
paths:
|
|
|
|
- path: torrents.php
|
|
|
|
inputs:
|
|
|
|
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
|
2020-11-14 22:12:59 +00:00
|
|
|
searchstr: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
2020-05-10 20:05:19 +00:00
|
|
|
rows:
|
|
|
|
selector: table#torrent_table > tbody > tr.torrent
|
|
|
|
fields:
|
|
|
|
download:
|
|
|
|
selector: a[title="download"]
|
|
|
|
attribute: href
|
|
|
|
optional: true
|
|
|
|
details:
|
|
|
|
selector: a.torrent_link_title
|
|
|
|
attribute: href
|
|
|
|
title:
|
|
|
|
selector: a.torrent_link_title
|
|
|
|
title: # special selector which only matches HDC releases not containing "English" and "only" tags and doesn't contain English in the title
|
|
|
|
selector: td.cats_col:has(a[href*="filter_cat[9]=1"]) + td.title_col:not(:has(span.tags_inner:contains("English"):contains("only"))):not(:has(span.tags_inner:contains("English"):contains("Only"))):not(:has(span.tags_inner:contains("english"):contains("only"))) a.torrent_link_title:not(:contains("English"))
|
|
|
|
optional: true
|
|
|
|
filters:
|
|
|
|
- name: replace # add GERMAN tag
|
|
|
|
args: ["-HDC", ".GERMAN-HDC"]
|
|
|
|
title: # special selector which only matches TvR releases not containing "GERMAN" already
|
|
|
|
selector: td.cats_col:has(a[href*="filter_cat[10]=1"]) + td.title_col a.torrent_link_title:not(:contains("GERMAN"))
|
|
|
|
optional: true
|
|
|
|
filters:
|
|
|
|
- name: replace # add GERMAN tag
|
|
|
|
args: [".DL", ".GERMAN.DL"]
|
|
|
|
category:
|
|
|
|
selector: td.cats_col > a
|
|
|
|
attribute: href
|
|
|
|
filters:
|
|
|
|
- name: regexp
|
|
|
|
args: "\\[(\\d+?)\\]"
|
|
|
|
date:
|
|
|
|
selector: td.time_col > .time
|
|
|
|
filters:
|
|
|
|
- name: append
|
2020-11-14 22:12:59 +00:00
|
|
|
args: " +01:00" # CET
|
2020-05-10 20:05:19 +00:00
|
|
|
- name: dateparse
|
|
|
|
args: "Jan 02 2006, 15:04 -07:00"
|
|
|
|
size:
|
|
|
|
selector: td.size_col
|
|
|
|
grabs:
|
|
|
|
selector: td.snatcher_col
|
|
|
|
seeders:
|
|
|
|
selector: td.seeder_col
|
|
|
|
leechers:
|
|
|
|
selector: td.leecher_col
|
|
|
|
downloadvolumefactor:
|
|
|
|
case:
|
|
|
|
"span.freeleech_slot": 0 # 24h freeelech slot
|
|
|
|
"span.freeleech": 0
|
|
|
|
"*": 1
|
|
|
|
uploadvolumefactor:
|
|
|
|
text: 1
|
2020-03-10 02:35:59 +00:00
|
|
|
# engine tbd
|