mirror of
https://github.com/Jackett/Jackett
synced 2025-01-01 04:38:20 +00:00
add pussytorrents semi-private 3x site. resolves #6491
This commit is contained in:
parent
ec3a56ad6f
commit
cf9a517c8c
2 changed files with 104 additions and 0 deletions
|
@ -182,6 +182,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
|
||||||
* MuziekFrabriek
|
* MuziekFrabriek
|
||||||
* NetHD (VietTorrent)
|
* NetHD (VietTorrent)
|
||||||
* Pornolab
|
* Pornolab
|
||||||
|
* PussyTorrents
|
||||||
* RiperAM
|
* RiperAM
|
||||||
* RockBox
|
* RockBox
|
||||||
* RuTracker
|
* RuTracker
|
||||||
|
|
103
src/Jackett.Common/Definitions/pussytorrents.yml
Normal file
103
src/Jackett.Common/Definitions/pussytorrents.yml
Normal file
|
@ -0,0 +1,103 @@
|
||||||
|
---
|
||||||
|
site: pussytorrents
|
||||||
|
name: PussyTorrents
|
||||||
|
description: "PussyTorrents is a Semi-Private Torrent Tracker for 3X"
|
||||||
|
language: en-us
|
||||||
|
type: semi-private
|
||||||
|
encoding: UTF-8
|
||||||
|
links:
|
||||||
|
- https://pussytorrents.org/
|
||||||
|
|
||||||
|
caps:
|
||||||
|
categorymappings:
|
||||||
|
- {id: 1, cat: XXX, desc: "XXX"}
|
||||||
|
|
||||||
|
modes:
|
||||||
|
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: "added"
|
||||||
|
options:
|
||||||
|
"added": "created"
|
||||||
|
"seeders": "seeders"
|
||||||
|
"size": "size"
|
||||||
|
"nameSort": "title"
|
||||||
|
- name: type
|
||||||
|
type: select
|
||||||
|
label: Order requested from site
|
||||||
|
default: "desc"
|
||||||
|
options:
|
||||||
|
"desc": "desc"
|
||||||
|
"asc": "asc"
|
||||||
|
|
||||||
|
login:
|
||||||
|
path: user/account/login/
|
||||||
|
method: post
|
||||||
|
inputs:
|
||||||
|
username: "{{ .Config.username }}"
|
||||||
|
password: "{{ .Config.password }}"
|
||||||
|
remember_me: on
|
||||||
|
error:
|
||||||
|
- selector: div.alert-error
|
||||||
|
test:
|
||||||
|
path: /
|
||||||
|
selector: a[href="/user/account/logout"]
|
||||||
|
|
||||||
|
search:
|
||||||
|
# https://pussytorrents.org/torrents/browse?query=&page=1&order=desc&orderby=added
|
||||||
|
paths:
|
||||||
|
- path: torrents/browse
|
||||||
|
inputs:
|
||||||
|
query: "{{ .Keywords }}"
|
||||||
|
page: 1
|
||||||
|
orderby: "{{ .Config.sort }}"
|
||||||
|
order: "{{ .Config.type }}"
|
||||||
|
|
||||||
|
rows:
|
||||||
|
selector: table#torrenttable > tbody > tr:has(a[href^="/download/"])
|
||||||
|
filters:
|
||||||
|
- name: andmatch
|
||||||
|
|
||||||
|
fields:
|
||||||
|
category:
|
||||||
|
text: 1
|
||||||
|
title:
|
||||||
|
selector: a[href^="/torrent/"]
|
||||||
|
details:
|
||||||
|
selector: a[href^="/torrent/"]
|
||||||
|
attribute: href
|
||||||
|
download:
|
||||||
|
selector: a[href^="/download/"]
|
||||||
|
attribute: href
|
||||||
|
date:
|
||||||
|
selector: span.subnote
|
||||||
|
filters:
|
||||||
|
- name: replace
|
||||||
|
args: ["Added on ", ""]
|
||||||
|
- name: dateparse
|
||||||
|
args: "2006-01-02 15:04:05"
|
||||||
|
size:
|
||||||
|
selector: td:nth-last-child(5)
|
||||||
|
grabs:
|
||||||
|
selector: td:nth-last-child(4)
|
||||||
|
filters:
|
||||||
|
- name: regexp
|
||||||
|
args: (\d+)
|
||||||
|
seeders:
|
||||||
|
selector: td:nth-last-child(3)
|
||||||
|
leechers:
|
||||||
|
selector: td:nth-last-child(2)
|
||||||
|
downloadvolumefactor:
|
||||||
|
text: 0
|
||||||
|
uploadvolumefactor:
|
||||||
|
text: 1
|
||||||
|
# engine n/a
|
Loading…
Reference in a new issue