2020-04-01 02:48:29 +00:00
---
2020-05-11 19:59:28 +00:00
id : pterclub
2020-05-10 20:05:19 +00:00
name : PTerClub
description : "PTerClub is a CHINESE Private Torrent Tracker for HD MUSIC VIDEOS, MOVIES, TV & ANIME"
2021-09-07 23:09:51 +00:00
language : zh-CN
2020-05-10 20:05:19 +00:00
type : private
encoding : UTF-8
links :
- https://pterclub.com/
2020-04-01 02:48:29 +00:00
2020-05-10 20:05:19 +00:00
caps :
categorymappings :
- {id: 401, cat: Movies, desc : "电影 (Movie)" }
- {id: 404, cat: TV, desc : "电视剧 (TV Play)" }
- {id: 403, cat: TV/Anime, desc : "动漫 (Anime)" }
- {id: 405, cat: TV, desc : "综艺 (TV Show)" }
- {id: 413, cat: Audio/Video, desc : "音乐短片 (MV)" }
2021-08-24 20:39:36 +00:00
- {id: 418, cat: Audio/Video, desc : "舞台演出(Stage Performance)" }
2020-05-10 20:05:19 +00:00
- {id: 406, cat: Audio, desc : "音乐 (Music)" }
- {id: 402, cat: TV/Documentary, desc : "纪录片 (Documentary)" }
- {id: 407, cat: TV/Sport, desc : "体育 (Sport)" }
- {id: 408, cat: Books, desc : "电子书 (Ebook)" }
- {id: 409, cat: Console, desc : "游戏 (Game)" }
- {id: 410, cat: PC, desc : "软件 (Software)" }
- {id: 411, cat: Other, desc : "学习 (Study)" }
- {id: 412, cat: Other, desc : "其它 (Other)" }
2020-04-01 02:48:29 +00:00
2020-05-10 20:05:19 +00:00
modes :
2020-10-19 03:56:16 +00:00
search : [ q]
2022-07-22 05:25:35 +00:00
tv-search : [ q, season, ep, imdbid, doubanid]
movie-search : [ q, imdbid, doubanid]
2020-05-10 20:05:19 +00:00
music-search : [ q]
2020-10-17 04:50:47 +00:00
book-search : [ q]
2020-04-01 02:48:29 +00:00
2020-05-10 20:05:19 +00:00
settings :
2023-02-09 17:21:15 +00:00
- name : cookie
2020-05-10 20:05:19 +00:00
type : text
2023-02-09 17:21:15 +00:00
label : Cookie
- name : info
2020-05-10 20:05:19 +00:00
type : info
2023-02-09 17:21:15 +00:00
label : How to get the Cookie
2023-03-04 10:27:24 +00:00
default : "<ol><li>Login to this tracker with your browser</li><li>Open the <b>DevTools</b> panel by pressing <b>F12</b></li><li>Select the <b>Network</b> tab</li><li>Click on the <b>Doc</b> button (Chrome Browser) or <b>HTML</b> button (FireFox)</li><li>Refresh the page by pressing <b>F5</b></li><li>Click on the first row entry</li><li>Select the <b>Headers</b> tab on the Right panel</li><li>Find <b>'cookie:'</b> in the <b>Request Headers</b> section</li><li><b>Select</b> and <b>Copy</b> the whole cookie string <i>(everything after 'cookie: ')</i> and <b>Paste</b> here.</li></ol>"
2020-09-09 07:02:34 +00:00
- name : freeleech
type : checkbox
label : Search freeleech only
default : false
2020-05-10 20:05:19 +00:00
- 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
2020-05-25 03:43:09 +00:00
- name : info_tpp
type : info
label : Results Per Page
default : For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile.
2020-04-01 02:48:29 +00:00
2020-05-10 20:05:19 +00:00
login :
2023-02-09 17:21:15 +00:00
method : cookie
2020-05-10 20:05:19 +00:00
inputs :
2023-02-09 17:21:15 +00:00
cookie : "{{ .Config.cookie }}"
2020-05-10 20:05:19 +00:00
test :
2023-07-06 04:01:18 +00:00
path : index.php?&noredir=1
selector : a[data-url="logout.php"]
2020-04-01 02:48:29 +00:00
2020-05-10 20:05:19 +00:00
search :
paths :
- path : torrents.php
inputs :
$raw : "{{ range .Categories }}cat{{.}}=1&{{end}}"
2023-01-13 17:32:59 +00:00
# currently supports only one query id at one time.
search : "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if or .Query.IMDBID .Query.DoubanID }} {{ else }}{{ .Keywords }}{{ end }}{{ if .Query.DoubanID }}{{ .Query.DoubanID }}{{ else }}{{ end }}"
2020-09-09 07:02:34 +00:00
# 0 incldead, 1 active, 2 dead
2020-05-10 20:05:19 +00:00
incldead : 0
2020-09-09 07:02:34 +00:00
# 0 all, 1 normal, 2 free, 3 2x, 4 2xfree, 5 50%, 6 2x50%, 7 30%
spstate : "{{ if .Config.freeleech }}2{{ else }}0{{ end }}"
2022-07-22 05:25:35 +00:00
# 0 title, 3 uploader, 4 imdburl, 5 DoubanID
search_area : "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if .Query.DoubanID }}5{{ else }}{{ end }}{{ if or .Query.IMDBID .Query.DoubanID }}{{ else }}0{{ end }}"
2020-09-09 07:02:34 +00:00
# 0 AND, 1 OR, 2 exact
2020-05-10 20:05:19 +00:00
search_mode : 0
sort : "{{ .Config.sort }}"
type : "{{ .Config.type }}"
2023-03-07 22:22:49 +00:00
notnewword : 1
2020-04-01 02:48:29 +00:00
2020-05-10 20:05:19 +00:00
rows :
selector : table.torrents > tbody > tr:has(table.torrentname)
2020-04-01 02:48:29 +00:00
2020-05-10 20:05:19 +00:00
fields :
category :
selector : a[href^="?cat="]
attribute : href
filters :
- name : querystring
args : cat
2021-10-23 18:12:34 +00:00
title_default :
2022-10-27 04:16:04 +00:00
selector : a[href^="details.php?id="], a[href^="detailsgame.php?"]
2023-03-20 17:58:33 +00:00
title :
2022-10-27 04:16:04 +00:00
selector : a[title][href^="details.php?id="], a[title][href^="detailsgame.php?id="]
2020-05-10 20:05:19 +00:00
attribute : title
2023-03-20 17:58:33 +00:00
optional : true
default : "{{ .Result.title_default }}"
2020-05-10 20:05:19 +00:00
details :
2022-10-27 04:16:04 +00:00
selector : a[href^="details.php?id="], a[href^="detailsgame.php?"]
2020-05-10 20:05:19 +00:00
attribute : href
download :
selector : a[href^="download.php?id="]
attribute : href
2020-11-07 23:43:33 +00:00
poster :
2023-02-03 21:43:47 +00:00
selector : img[data-src]
attribute : data-src
2021-10-23 18:12:34 +00:00
imdbid :
2022-07-03 06:36:55 +00:00
selector : a[href$="&search_area=4"]
attribute : href
doubanid :
selector : a[href$="&search_area=5"]
2020-05-10 20:05:19 +00:00
attribute : href
2021-11-06 07:14:45 +00:00
# staff have extra columns at the start and end of a row, so we have to float the next lot of selectors off an anchor
2022-07-19 07:18:10 +00:00
_anchor1 :
2021-11-14 04:56:51 +00:00
selector : td:has(a[href^="comment.php?"])
optional : true
2021-10-23 18:12:34 +00:00
date_elapsed :
2020-05-10 20:05:19 +00:00
# time type: time elapsed (default)
2022-07-19 07:18:10 +00:00
selector : "td:has(a[{{ if .Result._anchor1 }}href^=\"comment.php\"{{ else }}href$=\"startcomments\"{{ end }}]) ~ td > span[title]"
2020-05-10 20:05:19 +00:00
attribute : title
optional : true
filters :
- name : append
2020-10-10 02:16:19 +00:00
args : " +08:00" # CST
2020-05-10 20:05:19 +00:00
- name : dateparse
2023-02-24 07:02:57 +00:00
args : "yyyy-MM-dd HH:mm:ss zzz"
2021-10-23 18:12:34 +00:00
date_added :
2020-05-10 20:05:19 +00:00
# time added
2022-07-19 07:18:10 +00:00
selector : "td:has(a[{{ if .Result._anchor1 }}href^=\"comment.php\"{{ else }}href$=\"startcomments\"{{ end }}]) ~ td:not(:has(span[title]))"
2020-05-10 20:05:19 +00:00
optional : true
filters :
- name : append
2020-10-10 02:16:19 +00:00
args : " +08:00" # CST
2020-05-10 20:05:19 +00:00
- name : dateparse
2023-02-24 07:12:04 +00:00
args : "yyyy-MM-ddHH:mm:ss zzz"
2021-10-23 18:12:34 +00:00
date :
text : "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
2020-05-10 20:05:19 +00:00
size :
2022-07-19 07:18:10 +00:00
selector : "td:has(a[{{ if .Result._anchor1 }}href^=\"comment.php\"{{ else }}href$=\"startcomments\"{{ end }}]) ~ td ~ td"
2020-05-10 20:05:19 +00:00
seeders :
2022-07-19 07:18:10 +00:00
selector : "td:has(a[{{ if .Result._anchor1 }}href^=\"comment.php\"{{ else }}href$=\"startcomments\"{{ end }}]) ~ td ~ td ~ td"
2020-05-10 20:05:19 +00:00
leechers :
2022-07-19 07:18:10 +00:00
selector : "td:has(a[{{ if .Result._anchor1 }}href^=\"comment.php\"{{ else }}href$=\"startcomments\"{{ end }}]) ~ td ~ td ~ td ~ td"
2020-05-10 20:05:19 +00:00
grabs :
2022-07-19 07:18:10 +00:00
selector : "td:has(a[{{ if .Result._anchor1 }}href^=\"comment.php\"{{ else }}href$=\"startcomments\"{{ end }}]) ~ td ~ td ~ td ~ td ~ td"
2020-05-10 20:05:19 +00:00
downloadvolumefactor :
case :
img.pro_free : 0
img.pro_free2up : 0
img.pro_50pctdown : 0.5
img.pro_50pctdown2up : 0.5
img.pro_30pctdown : 0.3
"*": 1
uploadvolumefactor :
case :
img.pro_50pctdown2up : 2
img.pro_free2up : 2
img.pro_2up : 2
"*": 1
2020-10-10 02:16:19 +00:00
minimumratio :
text : 0.9
2023-05-06 05:49:45 +00:00
description :
selector : td:has(table.torrentname)
remove : a, img
2023-07-31 05:15:05 +00:00
# NexusPHP prod#60d2fdc724a 2023-05-10