Jackett/src/Jackett.Common/Definitions/trancetraffic.yml

74 lines
1.7 KiB
YAML
Raw Normal View History

---
2016-12-27 18:13:01 +00:00
site: trancetraffic
name: TranceTraffic
description: "TranceTraffic is a Private site for MUSIC"
2016-12-27 18:13:01 +00:00
language: en-us
type: private
2016-12-27 18:13:01 +00:00
encoding: UTF-8
links:
- https://www.trancetraffic.com/
2016-12-27 18:13:01 +00:00
caps:
categories:
1: Audio
modes:
search: [q]
2019-04-11 19:40:56 +00:00
music-search: [q, album, artist, label, year]
2016-12-27 18:13:01 +00:00
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:
paths:
- path: browse.php
2016-12-27 18:13:01 +00:00
inputs:
2019-04-11 19:40:56 +00:00
search: "{{if .Query.Artist}}{{ .Query.Artist }}{{else}}{{ .Keywords }}{{end}}"
2016-12-27 18:13:01 +00:00
rows:
selector: table.mainouter table > tbody > tr:has(a[href^="details.php?id="])
2016-12-27 18:13:01 +00:00
fields:
download:
selector: a[href^="download.php/"]
attribute: href
title:
selector: a[href^="details.php?id="]
details:
selector: a[href^="details.php?id="]
attribute: href
category:
text: 1
date:
selector: td:nth-child(6)
filters:
- name: append
args: " +00:00"
- name: dateparse
args: "2006-01-0215:04:05 -07:00"
seeders:
selector: td:nth-child(9)
leechers:
selector: td:nth-child(10)
grabs:
selector: td:nth-child(8)
filters:
- name: regexp
args: ([\d,]+)
files:
selector: td:nth-child(4)
size:
selector: td:nth-child(7)
downloadvolumefactor:
case:
"*": "1"
uploadvolumefactor:
case:
"*": "1"