1
0
mirror of https://github.com/Prowlarr/Indexers.git synced 2026-04-27 11:53:24 +01:00
Files
Indexers/definitions/v3/gfxpeers.yml
Qstick e07c451080 New: YAML Schema Validations (#206)
* New: YAML Schema Validations

* fixup! skip json when doing ymllint

* fixup!

* fixup!

* fixup!

* fixup!

* fixup! validate login methods, filter names, captcha types

* fixup! validate tracker type

* fixup! validate tracker type

* fixup! validate category mappings use a correct category

* fixup! further download block validation

* fixup!

* fixup! validate links and legacy-links are valid urls

* fixup! validate settings types

* fixup! v6 doubanid

* fixup! v5 json filter validation

* fixup! xbit should be v5
2022-06-24 21:01:47 -05:00

90 lines
2.0 KiB
YAML

---
id: gfxpeers
name: GFXPeers
description: "GFXPeers is a ratio-based torrent tracker for all things graphic design and visual effects"
language: en-US
type: private
encoding: UTF-8
links:
- https://gfxpeers.net/
caps:
categorymappings:
- {id: 1, cat: PC/0day, desc: "Applications"}
- {id: 2, cat: PC/0day, desc: "Plug-ins"}
- {id: 3, cat: Other, desc: "Tutorials"}
- {id: 4, cat: Other, desc: "Textures"}
- {id: 5, cat: Other, desc: "3D Models"}
- {id: 6, cat: Other, desc: "Game-Dev"}
- {id: 7, cat: Other, desc: "Miscellaneous"}
modes:
search: [q]
login:
path: login.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
keeplogged: 1
error:
- selector: .auth_form > .warning
test:
path: torrents.php
search:
paths:
- path: torrents.php
inputs:
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
searchstr: "{{ .Keywords }}"
order_by: time
order_way: desc
action: advanced
searchsubmit: 1
rows:
selector: table#torrent_table > tbody > tr.torrent
fields:
category:
selector: a[href^="torrents.php?filter_cat"]
attribute: href
filters:
- name: regexp
args: "\\[(\\d+?)\\]"
title:
selector: a[href^="torrents.php?id="]
details:
selector: a[href^="torrents.php?id="]
attribute: href
download:
selector: a[href^="torrents.php?action=download&id="]
attribute: href
files:
selector: td:nth-child(3)
date:
# timeago
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
"*": 1
uploadvolumefactor:
text: 1
minimumratio:
text: 0.6
minimumseedtime:
# 3 days (as seconds = 3 x 24 x 60 x 60)
text: 259200
# engine n/a