1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-30 19:58:39 +00:00

add pornbits a private 3x site. resolves #6710

This commit is contained in:
Garfield69 2019-12-29 22:31:53 +13:00
parent e217a97e23
commit 352690e1cd
2 changed files with 103 additions and 0 deletions

View file

@ -334,6 +334,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* PolishSource (PS)
* PolishTracker
* Pornbay
* PornBits (PB)
* Pretome
* PrivateHD (PHD)
* ProAudioTorrents (PAT)

View 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