mirror of
https://github.com/Jackett/Jackett
synced 2025-01-02 13:16:16 +00:00
add pornbits a private 3x site. resolves #6710
This commit is contained in:
parent
e217a97e23
commit
352690e1cd
2 changed files with 103 additions and 0 deletions
|
@ -334,6 +334,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
|
||||||
* PolishSource (PS)
|
* PolishSource (PS)
|
||||||
* PolishTracker
|
* PolishTracker
|
||||||
* Pornbay
|
* Pornbay
|
||||||
|
* PornBits (PB)
|
||||||
* Pretome
|
* Pretome
|
||||||
* PrivateHD (PHD)
|
* PrivateHD (PHD)
|
||||||
* ProAudioTorrents (PAT)
|
* ProAudioTorrents (PAT)
|
||||||
|
|
102
src/Jackett.Common/Definitions/pornbits.yml
Normal file
102
src/Jackett.Common/Definitions/pornbits.yml
Normal file
|
@ -0,0 +1,102 @@
|
||||||
|
---
|
||||||
|
site: pornbits
|
||||||
|
name: Pornbits
|
||||||
|
description: "Pornbits (PB) is a Private Torrent Tracker for 3X"
|
||||||
|
language: en-us
|
||||||
|
type: private
|
||||||
|
encoding: UTF-8
|
||||||
|
links:
|
||||||
|
- https://pornbits.org/
|
||||||
|
|
||||||
|
caps:
|
||||||
|
categories:
|
||||||
|
"xxx": XXX
|
||||||
|
|
||||||
|
modes:
|
||||||
|
search: [q]
|
||||||
|
tv-search: [q]
|
||||||
|
movie-search: [q]
|
||||||
|
|
||||||
|
settings:
|
||||||
|
- name: username
|
||||||
|
type: text
|
||||||
|
label: Username
|
||||||
|
- name: password
|
||||||
|
type: password
|
||||||
|
label: Password
|
||||||
|
- name: sort
|
||||||
|
type: select
|
||||||
|
label: Sort requested from site
|
||||||
|
default: "date_desc"
|
||||||
|
options:
|
||||||
|
"date_desc": "created desc"
|
||||||
|
"date_asc": "created asc"
|
||||||
|
"seeds_desc": "seeders desc"
|
||||||
|
"seeds_asc": "seeders asc"
|
||||||
|
"size_desc": "size desc"
|
||||||
|
"size_asc": "size asc"
|
||||||
|
|
||||||
|
login:
|
||||||
|
path: login
|
||||||
|
method: form
|
||||||
|
form: form#login
|
||||||
|
inputs:
|
||||||
|
"username": "{{ .Config.username }}"
|
||||||
|
"password": "{{ .Config.password }}"
|
||||||
|
error:
|
||||||
|
- selector: div.alert-danger
|
||||||
|
test:
|
||||||
|
path: home
|
||||||
|
selector: a[href="/logout"]
|
||||||
|
|
||||||
|
search:
|
||||||
|
paths:
|
||||||
|
- path: "browse/{{ if .Keywords }}search/{{ .Config.sort }}/name/{{ .Keywords }}{{else}}index/{{ .Config.sort }}{{end}}"
|
||||||
|
|
||||||
|
rows:
|
||||||
|
selector: table.table-condensed tbody tr.success
|
||||||
|
|
||||||
|
fields:
|
||||||
|
category:
|
||||||
|
text: xxx
|
||||||
|
title:
|
||||||
|
selector: a[href*="/torrent/details/"]
|
||||||
|
details:
|
||||||
|
selector: a[href*="/torrent/details/"]
|
||||||
|
attribute: href
|
||||||
|
download:
|
||||||
|
selector: a[href*="/torrent/download/"]
|
||||||
|
attribute: href
|
||||||
|
banner:
|
||||||
|
selector: div.torrent-name-hover img
|
||||||
|
attribute: src
|
||||||
|
date:
|
||||||
|
selector: td:nth-child(4) div:nth-child(2):contains("ago")
|
||||||
|
optional: true
|
||||||
|
filters:
|
||||||
|
- name: timeago
|
||||||
|
date:
|
||||||
|
selector: td:nth-child(4) div:nth-child(2):contains("-")
|
||||||
|
optional: true
|
||||||
|
filters:
|
||||||
|
- name: dateparse
|
||||||
|
args: "3:04pm 2006-01-02"
|
||||||
|
size:
|
||||||
|
selector: td:nth-child(5) div:nth-child(1)
|
||||||
|
files:
|
||||||
|
selector: td:nth-child(5) div:nth-child(2)
|
||||||
|
filters:
|
||||||
|
- name: regexp
|
||||||
|
args: (\d+)
|
||||||
|
seeders:
|
||||||
|
selector: td:nth-child(6)
|
||||||
|
leechers:
|
||||||
|
selector: td:nth-child(7)
|
||||||
|
grabs:
|
||||||
|
selector: td:nth-child(8)
|
||||||
|
downloadvolumefactor:
|
||||||
|
case:
|
||||||
|
img[src="/images/glyphicons_069_gift.png"]: 0
|
||||||
|
"*": 1
|
||||||
|
uploadvolumefactor:
|
||||||
|
text: 1
|
Loading…
Reference in a new issue