mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
add nbytez a private site. resolves #12079
This commit is contained in:
@@ -415,6 +415,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht
|
|||||||
* MyAnonamouse (MAM)
|
* MyAnonamouse (MAM)
|
||||||
* MySpleen [![(invite needed)][inviteneeded]](#)
|
* MySpleen [![(invite needed)][inviteneeded]](#)
|
||||||
* NBTorrents [![(invite needed)][inviteneeded]](#)
|
* NBTorrents [![(invite needed)][inviteneeded]](#)
|
||||||
|
* Nbytez
|
||||||
* NCore
|
* NCore
|
||||||
* Nebulance (NBL) (TransmiTheNet)
|
* Nebulance (NBL) (TransmiTheNet)
|
||||||
* NetCosmo
|
* NetCosmo
|
||||||
|
155
src/Jackett.Common/Definitions/nbytez.yml
Normal file
155
src/Jackett.Common/Definitions/nbytez.yml
Normal file
@@ -0,0 +1,155 @@
|
|||||||
|
---
|
||||||
|
id: nbytez
|
||||||
|
name: Nbytez
|
||||||
|
description: "Nbytez is a Private Torrent Tracker for MOVIES / TV / GENERAL"
|
||||||
|
language: en-us
|
||||||
|
type: private
|
||||||
|
encoding: UTF-8
|
||||||
|
links:
|
||||||
|
- https://nbytez.me/
|
||||||
|
|
||||||
|
caps:
|
||||||
|
categorymappings:
|
||||||
|
- {id: 1, cat: PC, desc: "Apps"}
|
||||||
|
- {id: 8, cat: Books/EBook, desc: "Ebooks"}
|
||||||
|
- {id: 2, cat: PC/Games, desc: "Games"}
|
||||||
|
- {id: 3, cat: Movies, desc: "Movies"}
|
||||||
|
- {id: 4, cat: Audio, desc: "Music"}
|
||||||
|
- {id: 5, cat: TV, desc: "TV"}
|
||||||
|
- {id: 16, cat: TV, desc: "TV-Dutch"}
|
||||||
|
|
||||||
|
modes:
|
||||||
|
search: [q]
|
||||||
|
tv-search: [q, season, ep]
|
||||||
|
movie-search: [q]
|
||||||
|
music-search: [q]
|
||||||
|
book-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: sort
|
||||||
|
type: select
|
||||||
|
label: Sort requested from site
|
||||||
|
default: 4
|
||||||
|
options:
|
||||||
|
4: created
|
||||||
|
7: seeders
|
||||||
|
5: size
|
||||||
|
1: title
|
||||||
|
- name: type
|
||||||
|
type: select
|
||||||
|
label: Order requested from site
|
||||||
|
default: desc
|
||||||
|
options:
|
||||||
|
desc: desc
|
||||||
|
asc: asc
|
||||||
|
- 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.
|
||||||
|
|
||||||
|
login:
|
||||||
|
path: takelogin.php
|
||||||
|
method: post
|
||||||
|
inputs:
|
||||||
|
username: "{{ .Config.username }}"
|
||||||
|
password: "{{ .Config.password }}"
|
||||||
|
use_ssl: 1
|
||||||
|
perm_ssl: ""
|
||||||
|
returnto: /
|
||||||
|
error:
|
||||||
|
- selector: table.main:contains("Login failed!")
|
||||||
|
message:
|
||||||
|
selector: table tr td.colhead2
|
||||||
|
test:
|
||||||
|
path: index.php
|
||||||
|
selector: a[href*="logout.php?hash_please="]
|
||||||
|
|
||||||
|
search:
|
||||||
|
paths:
|
||||||
|
# https://nbytez.me/browse.php?c5=1&c16=1&search=&searchin=title&incldead=1&only_free=1&sort=4&type=desc
|
||||||
|
- path: browse.php
|
||||||
|
inputs:
|
||||||
|
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
||||||
|
search: "{{ .Keywords }}"
|
||||||
|
# title, descr, genre, all
|
||||||
|
searchin: title
|
||||||
|
# 0 active, 1 incldead, 2 onlydead
|
||||||
|
incldead: 1
|
||||||
|
only_free: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
|
||||||
|
sort: "{{ .Config.sort }}"
|
||||||
|
type: "{{ .Config.type }}"
|
||||||
|
keywordsfilters:
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(\\w+)", " +$1"] # prepend + to each word
|
||||||
|
|
||||||
|
rows:
|
||||||
|
selector: table.table-bordered tr:has(a[href^="download.php?torrent="])
|
||||||
|
|
||||||
|
fields:
|
||||||
|
category:
|
||||||
|
selector: a[href^="browse.php?cat="]
|
||||||
|
attribute: href
|
||||||
|
filters:
|
||||||
|
- name: querystring
|
||||||
|
args: cat
|
||||||
|
title:
|
||||||
|
selector: a[href^="details.php?id="]
|
||||||
|
attribute: onmouseover
|
||||||
|
filters:
|
||||||
|
- name: regexp
|
||||||
|
args: "Tip\\('<b>(.+?)</b>"
|
||||||
|
details:
|
||||||
|
selector: a[href^="details.php?id="]
|
||||||
|
attribute: href
|
||||||
|
download:
|
||||||
|
selector: a[href^="download.php?torrent="]
|
||||||
|
attribute: href
|
||||||
|
files:
|
||||||
|
selector: td:nth-child(5)
|
||||||
|
date:
|
||||||
|
selector: td:nth-child(7):contains("day")
|
||||||
|
optional: true
|
||||||
|
filters:
|
||||||
|
- name: fuzzytime
|
||||||
|
date:
|
||||||
|
selector: td:nth-child(7):not(:contains("day"))
|
||||||
|
optional: true
|
||||||
|
filters:
|
||||||
|
- name: append
|
||||||
|
args: " +00:00" # auto adjusted by site account profile
|
||||||
|
- name: dateparse
|
||||||
|
args: "Jan 2 2006 03:04 PM -07:00"
|
||||||
|
size:
|
||||||
|
selector: td:nth-child(8)
|
||||||
|
grabs:
|
||||||
|
selector: td:nth-child(9)
|
||||||
|
filters:
|
||||||
|
- name: regexp
|
||||||
|
args: (\d+)
|
||||||
|
seeders:
|
||||||
|
selector: td:nth-child(10)
|
||||||
|
leechers:
|
||||||
|
selector: td:nth-child(11)
|
||||||
|
downloadvolumefactor:
|
||||||
|
case:
|
||||||
|
"a.info:contains(\"[FREE]\")": 0
|
||||||
|
"a.info:contains(\"[SILVER]\")": 0.5
|
||||||
|
"*": 1
|
||||||
|
uploadvolumefactor:
|
||||||
|
text: 1
|
||||||
|
minimumratio:
|
||||||
|
text: 1.0
|
||||||
|
minimumseedtime:
|
||||||
|
# 2 days (as seconds = 2 x 24 x 60 x 60)
|
||||||
|
text: 172800
|
||||||
|
# U-232 V5
|
Reference in New Issue
Block a user