2019-02-04 21:26:35 +00:00
|
|
|
---
|
2020-05-11 19:59:28 +00:00
|
|
|
id: pwtorrents
|
2020-05-10 20:05:19 +00:00
|
|
|
name: PWTorrents
|
|
|
|
description: "PWTorrents (PWT) is a Private Torrent Tracker for PROFESSIONAL WRESTLING"
|
2021-09-07 23:09:51 +00:00
|
|
|
language: en-US
|
2020-05-10 20:05:19 +00:00
|
|
|
type: private
|
|
|
|
encoding: UTF-8
|
|
|
|
links:
|
|
|
|
- http://pwtorrents.net/
|
|
|
|
links:
|
|
|
|
- https://pwtorrents.net/ # site is forcing to http
|
2019-02-04 21:26:35 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
caps:
|
|
|
|
categorymappings:
|
|
|
|
- {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"}
|
|
|
|
- {id: 5, cat: TV/Sport, desc: "Games and Software"}
|
|
|
|
- {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: 13, cat: TV/Sport, desc: "TNA PPV's"}
|
|
|
|
- {id: 14, cat: TV/Sport, desc: "TNA Weekly"}
|
|
|
|
- {id: 15, cat: TV/Sport, desc: "WCW"}
|
|
|
|
- {id: 18, cat: TV/Sport, desc: "WWE Network"}
|
|
|
|
- {id: 16, cat: TV/Sport, desc: "WWE PPV's"}
|
|
|
|
- {id: 17, cat: TV/Sport, desc: "WWE Weekly"}
|
2021-05-30 00:00:30 +00:00
|
|
|
- {id: 19, cat: TV/Sport, desc: "AEW Weekly"}
|
|
|
|
- {id: 20, cat: TV/Sport, desc: "AEW PPV's"}
|
2019-02-04 21:26:35 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
modes:
|
|
|
|
search: [q]
|
|
|
|
tv-search: [q]
|
2019-02-04 21:26:35 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
settings:
|
|
|
|
- name: username
|
|
|
|
type: text
|
|
|
|
label: Username
|
|
|
|
- name: password
|
|
|
|
type: password
|
|
|
|
label: Password
|
2020-09-14 09:27:31 +00:00
|
|
|
- name: freeleech
|
|
|
|
type: checkbox
|
|
|
|
label: Search freeleech only
|
|
|
|
default: false
|
2020-05-10 20:05:19 +00:00
|
|
|
- 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
|
2020-05-10 20:05:19 +00:00
|
|
|
options:
|
2020-10-23 20:01:19 +00:00
|
|
|
4: created
|
|
|
|
7: seeders
|
|
|
|
5: size
|
|
|
|
1: title
|
2020-05-10 20:05:19 +00:00
|
|
|
- name: type
|
|
|
|
type: select
|
|
|
|
label: Order requested from site
|
2020-10-23 20:01:19 +00:00
|
|
|
default: desc
|
2020-05-10 20:05:19 +00:00
|
|
|
options:
|
2020-10-23 20:01:19 +00:00
|
|
|
desc: desc
|
|
|
|
asc: asc
|
2019-07-09 20:41:30 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
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"]
|
2019-02-04 21:26:35 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
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}}"
|
2020-09-14 09:27:31 +00:00
|
|
|
# 0 active, 1 incldead, 2 onlydead, 3 freeleech
|
|
|
|
incldead: "{{ if .Config.freeleech }}3{{ else }}1{{ end }}"
|
2020-05-10 20:05:19 +00:00
|
|
|
search: "{{ .Keywords }}"
|
|
|
|
sort: "{{ .Config.sort }}"
|
|
|
|
type: "{{ .Config.type }}"
|
2019-12-19 06:48:28 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
rows:
|
|
|
|
selector: table[border="1"][cellspacing="0"][cellpadding="5"] tr:has(a[href^="download.php?id="])
|
2019-12-19 06:48:28 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
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:
|
2020-05-10 20:05:19 +00:00
|
|
|
selector: a[href^="download.php?id="]
|
|
|
|
attribute: href
|
2022-07-19 07:18:10 +00:00
|
|
|
download_2:
|
2020-05-10 20:05:19 +00:00
|
|
|
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 }}"
|
2020-05-10 20:05:19 +00:00
|
|
|
date:
|
|
|
|
selector: td:nth-child(4)
|
|
|
|
filters:
|
2020-10-12 07:35:57 +00:00
|
|
|
- name: append
|
|
|
|
args: " +00:00" # GMT
|
2020-05-10 20:05:19 +00:00
|
|
|
- name: dateparse
|
2020-10-12 07:35:57 +00:00
|
|
|
args: "2006-01-0215:04:05 -07:00"
|
2020-05-10 20:05:19 +00: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:
|
2020-09-14 09:27:31 +00:00
|
|
|
case:
|
|
|
|
img[src="pic/freeleech.png"]: 0
|
|
|
|
"*": 1
|
2020-05-10 20:05:19 +00:00
|
|
|
uploadvolumefactor:
|
2020-09-14 09:27:31 +00:00
|
|
|
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
|