pornbay: multiple updates (#9773) resolves #9749 resolves #9772 for #9456

Include Freeleech torrents only in setting
add grid config info
add  missing cats
add tpp info
lint fixup
This commit is contained in:
Deflated Croissant
2020-10-08 00:33:16 +05:30
committed by GitHub
parent c4e321cbab
commit 0b881f75e8

View File

@@ -1,8 +1,7 @@
# Pornbay is based on Gazelle, but I used the Empornium definition as a base.
--- ---
id: pornbay id: pornbay
name: Pornbay name: Pornbay
description: "Pornbay is a Private Torrent Tracker for XXX" description: "Pornbay is a Private Torrent Tracker for 3X"
language: en-us language: en-us
type: private type: private
encoding: UTF-8 encoding: UTF-8
@@ -22,6 +21,7 @@ caps:
- {id: 32, cat: XXX, desc: "Classic"} - {id: 32, cat: XXX, desc: "Classic"}
- {id: 8, cat: XXX, desc: "Clips"} - {id: 8, cat: XXX, desc: "Clips"}
- {id: 9, cat: XXX, desc: "Creampie"} - {id: 9, cat: XXX, desc: "Creampie"}
- {id: 10, cat: XXX, desc: "DVD-R"}
- {id: 11, cat: XXX, desc: "Feature"} - {id: 11, cat: XXX, desc: "Feature"}
- {id: 12, cat: XXX, desc: "Fetish"} - {id: 12, cat: XXX, desc: "Fetish"}
- {id: 13, cat: XXX, desc: "Foreign"} - {id: 13, cat: XXX, desc: "Foreign"}
@@ -36,6 +36,7 @@ caps:
- {id: 22, cat: XXX, desc: "Lesbian"} - {id: 22, cat: XXX, desc: "Lesbian"}
- {id: 23, cat: XXX, desc: "Mature"} - {id: 23, cat: XXX, desc: "Mature"}
- {id: 47, cat: XXX, desc: "Megapack"} - {id: 47, cat: XXX, desc: "Megapack"}
- {id: 49, cat: XXX, desc: "Old+Young"}
- {id: 24, cat: XXX, desc: "Orgy"} - {id: 24, cat: XXX, desc: "Orgy"}
- {id: 25, cat: XXX, desc: "Other"} - {id: 25, cat: XXX, desc: "Other"}
- {id: 26, cat: XXX, desc: "Pics"} - {id: 26, cat: XXX, desc: "Pics"}
@@ -46,12 +47,33 @@ caps:
- {id: 28, cat: XXX, desc: "Straight"} - {id: 28, cat: XXX, desc: "Straight"}
- {id: 29, cat: XXX, desc: "Teen"} - {id: 29, cat: XXX, desc: "Teen"}
- {id: 51, cat: XXX, desc: "VR Porn"} - {id: 51, cat: XXX, desc: "VR Porn"}
- {id: 33, cat: XXX, desc: "Transsexual"}
modes: modes:
search: [q] search: [q]
tv-search: [q] tv-search: [q]
movie-search: [q] movie-search: [q]
settings:
- name: username
type: text
label: Username
- name: password
type: password
label: Password
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
- name: info_grid
type: info
label: GRID view
default: This indexer does not support the GRID view on the torrent search page. Change the <b>GRID</b> setting to <b>OFF</b> on your account profile. If set to <i>ON</i> will cause no results to be returned.
- 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. The default is <i>25</i>.
login: login:
path: login.php path: login.php
method: form method: form
@@ -70,14 +92,19 @@ search:
- path: torrents.php - path: torrents.php
inputs: inputs:
$raw: "{{range .Categories}}filter_cat[{{.}}]=1&{{end}}" $raw: "{{range .Categories}}filter_cat[{{.}}]=1&{{end}}"
title: "{{ .Query.Keywords }}" searchtext: ""
title: "{{ .Keywords }}"
order_by: time order_by: time
order_way: desc order_way: desc
action: basic action: advanced
searchsubmit: 1 filter_freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
filelist: ""
taglist: ""
rows: rows:
# exclude redbar torrents # exclude redbar torrents
selector: table#torrent_table > tbody > tr[class^="torrent row"] selector: table#torrent_table > tbody > tr[class^="torrent row"]
fields: fields:
download: download:
selector: a[href^="torrents.php?action=download&id="] selector: a[href^="torrents.php?action=download&id="]
@@ -112,7 +139,7 @@ search:
attribute: title attribute: title
filters: filters:
- name: append - name: append
args: " +00:00" args: " +00:00" # GMT
- name: dateparse - name: dateparse
args: "Jan 02 2006, 15:04 -07:00" args: "Jan 02 2006, 15:04 -07:00"
size: size:
@@ -126,8 +153,8 @@ search:
downloadvolumefactor: downloadvolumefactor:
case: case:
span.icon[title*="Freeleech"]: 0 span.icon[title*="Freeleech"]: 0
"img[alt=\"Freeleech\"]": "0" img[alt="Freeleech"]: 0
"*": "1" "*": 1
uploadvolumefactor: uploadvolumefactor:
case: text: 1
"*": "1" # Gazelle