Jackett/src/Jackett.Common/Definitions/pwtorrents.yml

151 lines
3.9 KiB
YAML
Raw Normal View History

---
id: pwtorrents
name: PWTorrents
description: "PWTorrents (PWT) is a Private Torrent Tracker for PROFESSIONAL WRESTLING"
language: en-US
type: private
encoding: UTF-8
links:
2022-11-26 04:54:06 +00:00
- https://pwtorrents.net/
legacylinks:
2022-11-26 04:54:06 +00:00
- http://pwtorrents.net/
caps:
categorymappings:
2022-08-31 04:15:25 +00:00
- {id: 26, cat: TV/Sport, desc: "AEW Dark"}
- {id: 21, cat: TV/Sport, desc: "AEW Dynamite"}
- {id: 20, cat: TV/Sport, desc: "AEW PPV"}
- {id: 23, cat: TV/Sport, desc: "AEW Rampage"}
- {id: 1, cat: TV/Sport, desc: "Boxing"}
- {id: 2, cat: TV/Sport, desc: "Documentaries"}
- {id: 3, cat: TV/Sport, desc: "DVD"}
- {id: 4, cat: TV/Sport, desc: "ECW"}
2022-08-31 04:15:25 +00:00
- {id: 13, cat: TV/Sport, desc: "Impact PPV"}
- {id: 14, cat: TV/Sport, desc: "Impact Weekly"}
- {id: 6, cat: TV/Sport, desc: "Indy's"}
- {id: 7, cat: TV/Sport, desc: "Matches"}
- {id: 8, cat: TV/Sport, desc: "Misc."}
- {id: 9, cat: TV/Sport, desc: "MMA"}
- {id: 11, cat: TV/Sport, desc: "Puro"}
- {id: 10, cat: TV/Sport, desc: "PWT Packs"}
- {id: 12, cat: TV/Sport, desc: "Ring Of Honor"}
- {id: 15, cat: TV/Sport, desc: "WCW"}
- {id: 18, cat: TV/Sport, desc: "WWE Network"}
2022-08-31 04:15:25 +00:00
- {id: 16, cat: TV/Sport, desc: "WWE PPV"}
- {id: 24, cat: TV/Sport, desc: "WWE RAW"}
- {id: 25, cat: TV/Sport, desc: "WWE Smackdown"}
- {id: 17, cat: TV/Sport, desc: "WWE Weekly"}
2022-09-01 04:17:27 +00:00
- {id: 27, cat: TV/Sport, desc: "WWE NXT"}
modes:
search: [q]
tv-search: [q, season, ep]
settings:
- name: username
type: text
label: Username
- name: password
type: password
label: Password
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
- name: seedbox
type: checkbox
label: "Use SeedBox Download Link"
default: false
- name: sort
type: select
label: Sort requested from site
2020-10-23 20:01:19 +00:00
default: 4
options:
2020-10-23 20:01:19 +00:00
4: created
7: seeders
5: size
1: title
- name: type
type: select
label: Order requested from site
2020-10-23 20:01:19 +00:00
default: desc
options:
2020-10-23 20:01:19 +00:00
desc: desc
asc: asc
login:
path: takelogin.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: table.main:contains("Login failed!")
test:
path: my.php
selector: a[href="logout.php"]
search:
paths:
# https://pwtorrents.net/browse.php?c18=1&c16=1&c17=1&incldead=0
- path: browse.php
inputs:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
# 0 active, 1 incldead, 2 onlydead, 3 freeleech
incldead: "{{ if .Config.freeleech }}3{{ else }}1{{ end }}"
search: "{{ .Keywords }}"
sort: "{{ .Config.sort }}"
type: "{{ .Config.type }}"
rows:
selector: table[border="1"][cellspacing="0"][cellpadding="5"] tr:has(a[href^="download.php?id="])
fields:
category:
selector: a[href^="browse.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
title:
selector: a[href^="details.php?id="]
details:
selector: a[href^="details.php?id="]
attribute: href
2022-07-19 07:18:10 +00:00
download_1:
selector: a[href^="download.php?id="]
attribute: href
2022-07-19 07:18:10 +00:00
download_2:
selector: a[href^="seeddownload.php?id="]
attribute: href
download:
2022-07-19 07:18:10 +00:00
text: "{{ if .Config.seedbox }}{{ .Result.download_2 }}{{ else }}{{ .Result.download_1 }}{{ end }}"
date:
selector: td:nth-child(4)
filters:
2020-10-12 07:35:57 +00:00
- name: append
args: " +00:00" # GMT
- name: dateparse
2020-10-12 07:35:57 +00:00
args: "2006-01-0215:04:05 -07:00"
size:
selector: td:nth-child(5)
grabs:
selector: td:nth-child(6)
seeders:
selector: td:nth-child(9)
leechers:
selector: td:nth-child(10)
downloadvolumefactor:
case:
img[src="pic/freeleech.png"]: 0
"*": 1
uploadvolumefactor:
case:
img[src="gold.png"]: 2
img[src="silver.png"]: 1.5
img[src="bronze.png"]: 1.25
"*": 1
minimumratio:
text: 0.7
2020-01-19 19:36:57 +00:00
# engine n/a