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

75 lines
1.5 KiB
YAML
Raw Normal View History

---
id: trancetraffic
name: TranceTraffic
description: "TranceTraffic is a Private site for MUSIC"
language: en-us
type: private
encoding: UTF-8
links:
- https://www.trancetraffic.com/
2016-12-27 18:13:01 +00:00
caps:
categories:
1: Audio
2016-12-27 18:13:01 +00:00
modes:
search: [q]
music-search: [q, artist]
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
2016-12-27 18:13:01 +00:00
search:
paths:
- path: browse.php
inputs:
2020-10-24 03:27:51 +00:00
search: "{{if .Query.Artist}}{{ .Query.Artist }}{{ else }}{{ .Keywords }}{{ end }}"
rows:
selector: table.mainouter table > tbody > tr:has(a[href^="details.php?id="])
2020-10-24 03:27:51 +00:00
fields:
2020-10-24 03:27:51 +00:00
category:
text: 1
download:
selector: a[href^="download.php/"]
attribute: href
title:
selector: a[href^="details.php?id="]
details:
selector: a[href^="details.php?id="]
attribute: href
date:
selector: td:nth-child(6)
filters:
- name: append
2020-10-24 03:27:51 +00:00
args: " +00:00" # auto adjusted by site account profile
- 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
2020-10-24 03:27:51 +00:00
args: (\d+)
files:
selector: td:nth-child(4)
size:
selector: td:nth-child(7)
downloadvolumefactor:
2020-10-24 03:27:51 +00:00
text: 1
uploadvolumefactor:
2020-10-24 03:27:51 +00:00
text: 1
# engine tbd