mirror of
https://github.com/Jackett/Jackett
synced 2025-01-03 13:46:10 +00:00
add turknova a Turkish private site. resolves #9104
This commit is contained in:
parent
651a9545cb
commit
64f2677443
3 changed files with 191 additions and 1 deletions
|
@ -602,6 +602,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht
|
||||||
* TranceTraffic
|
* TranceTraffic
|
||||||
* Trellas (Magico) [![(invite needed)][inviteneeded]](#)
|
* Trellas (Magico) [![(invite needed)][inviteneeded]](#)
|
||||||
* TreZzoR
|
* TreZzoR
|
||||||
|
* TurkNova
|
||||||
* TurkSeed
|
* TurkSeed
|
||||||
* TurkTorrent (TT)
|
* TurkTorrent (TT)
|
||||||
* TV Chaos UK (TVCUK)
|
* TV Chaos UK (TVCUK)
|
||||||
|
|
190
src/Jackett.Common/Definitions/turknova.yml
Normal file
190
src/Jackett.Common/Definitions/turknova.yml
Normal file
|
@ -0,0 +1,190 @@
|
||||||
|
---
|
||||||
|
id: turknova
|
||||||
|
name: TurkNova
|
||||||
|
description: "TurkNova is a TURKISH Private Torrent Tracker for MOVIES / TV / GENERAL. This Indexer is for English only."
|
||||||
|
language: en-US
|
||||||
|
type: private
|
||||||
|
encoding: UTF-8
|
||||||
|
links:
|
||||||
|
- https://turknova.org/
|
||||||
|
legacylinks:
|
||||||
|
- https://www.turknova.net/
|
||||||
|
|
||||||
|
caps:
|
||||||
|
categorymappings:
|
||||||
|
- {id: 64, cat: Movies/UHD, desc: "4K - UHD"}
|
||||||
|
- {id: 40, cat: Movies/HD, desc: "1080p / 720p / BDRip"}
|
||||||
|
- {id: 68, cat: Movies/HD, desc: "mRIP"}
|
||||||
|
- {id: 71, cat: Movies/HD, desc: "H265"}
|
||||||
|
- {id: 73, cat: Movies/DVD, desc: "DVD Disc"}
|
||||||
|
- {id: 39, cat: Movies, desc: "BOXSET"}
|
||||||
|
- {id: 43, cat: Movies/HD, desc: "NETFLIX"}
|
||||||
|
- {id: 84, cat: TV, desc: "DSNP"}
|
||||||
|
- {id: 85, cat: TV, desc: "AMZN PRIME"}
|
||||||
|
- {id: 54, cat: TV, desc: "BLUTV"}
|
||||||
|
- {id: 74, cat: TV, desc: "EXXEN"}
|
||||||
|
- {id: 77, cat: TV, desc: "GAIN"}
|
||||||
|
- {id: 59, cat: Movies/WEB-DL, desc: "WEB-DL / WEBRip"}
|
||||||
|
- {id: 34, cat: TV/Documentary, desc: "Belgesel"}
|
||||||
|
- {id: 60, cat: TV/Foreign, desc: "Yabancı Dizi"}
|
||||||
|
- {id: 72, cat: TV/Anime, desc: "Animasyon"}
|
||||||
|
- {id: 48, cat: TV/HD, desc: "HDTV - Rip"}
|
||||||
|
- {id: 55, cat: TV, desc: "Türk Filmi"}
|
||||||
|
- {id: 46, cat: Other, desc: "Eğitim"}
|
||||||
|
- {id: 53, cat: Other, desc: "Resim"}
|
||||||
|
- {id: 50, cat: Audio, desc: "Müzik"}
|
||||||
|
- {id: 51, cat: PC/Games, desc: "Oyun"}
|
||||||
|
- {id: 52, cat: PC, desc: "Program"}
|
||||||
|
- {id: 62, cat: PC, desc: "İşletim Sistemi"}
|
||||||
|
|
||||||
|
modes:
|
||||||
|
search: [q]
|
||||||
|
tv-search: [q, season, ep]
|
||||||
|
movie-search: [q]
|
||||||
|
music-search: [q]
|
||||||
|
|
||||||
|
settings:
|
||||||
|
- name: username
|
||||||
|
type: text
|
||||||
|
label: Username
|
||||||
|
- name: password
|
||||||
|
type: password
|
||||||
|
label: Password
|
||||||
|
- name: info_layout
|
||||||
|
type: info
|
||||||
|
label: Layout
|
||||||
|
default: "<ol><li>Only the English Classic profile is supported.<li>Make sure to set the <b>Torrent Listing (Listeleme Biçimi)</b> option in your profile to <b>Classic (Klasik)</b><li>And set the <b>Language (Dil)</b> to <b>English</b><li>Using the <i>Modern</i> theme will prevent results, and using <i>Turkish</i> will prevent upload dates.</ol>"
|
||||||
|
- name: sort
|
||||||
|
type: select
|
||||||
|
label: Sort requested from site
|
||||||
|
default: added
|
||||||
|
options:
|
||||||
|
added: created
|
||||||
|
seeders: seeders
|
||||||
|
size: size
|
||||||
|
- name: type
|
||||||
|
type: select
|
||||||
|
label: Order requested from site
|
||||||
|
default: desc
|
||||||
|
options:
|
||||||
|
desc: desc
|
||||||
|
asc: asc
|
||||||
|
- name: info_results
|
||||||
|
type: info
|
||||||
|
label: Search results
|
||||||
|
default: "If you are getting the error: <b>An error has occurred!You can't view this page unless you read all your unread messages</b>, then access the site with your browser and <b>mark as read</b> all PMs."
|
||||||
|
|
||||||
|
login:
|
||||||
|
path: ?p=home&pid=1
|
||||||
|
method: form
|
||||||
|
form: form#sls_form
|
||||||
|
submitpath: ajax/login.php
|
||||||
|
inputs:
|
||||||
|
action: login
|
||||||
|
loginbox_membername: "{{ .Config.username }}"
|
||||||
|
loginbox_password: "{{ .Config.password }}"
|
||||||
|
loginbox_remember: 1
|
||||||
|
selectorinputs:
|
||||||
|
securitytoken:
|
||||||
|
selector: "script:contains(\"stKey: \")"
|
||||||
|
filters:
|
||||||
|
- name: regexp
|
||||||
|
args: "stKey: \"(.+?)\","
|
||||||
|
error:
|
||||||
|
- selector: div.error
|
||||||
|
test:
|
||||||
|
path: ?p=home&pid=1
|
||||||
|
selector: a#logout
|
||||||
|
|
||||||
|
search:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
keywordsfilters:
|
||||||
|
- name: re_replace
|
||||||
|
args: ["[^a-zA-Z0-9]+", "%25"]
|
||||||
|
inputs:
|
||||||
|
p: torrents
|
||||||
|
pid: 32
|
||||||
|
$raw: "{{ range .Categories }}cid[]={{.}}&{{end}}"
|
||||||
|
keywords: "{{ .Keywords }}"
|
||||||
|
# name, description, both, uploader
|
||||||
|
search_type: name
|
||||||
|
"sortOptions[sortBy]": "{{ .Config.sort }}"
|
||||||
|
"sortOptions[sortOrder]": "{{ .Config.type }}"
|
||||||
|
error:
|
||||||
|
- selector: div.error:not(:contains("Hiçbir sonuç bulunamadı.")):not(:contains("There are no results found."))
|
||||||
|
# does not support imdbid search and does not return imdb link in results.
|
||||||
|
|
||||||
|
rows:
|
||||||
|
selector: table#torrents_table_classic > tbody > tr:has(td.torrent_name)
|
||||||
|
|
||||||
|
fields:
|
||||||
|
category:
|
||||||
|
selector: div.category_image > a
|
||||||
|
attribute: href
|
||||||
|
filters:
|
||||||
|
- name: querystring
|
||||||
|
args: cid
|
||||||
|
title:
|
||||||
|
selector: a[href*="?p=torrents&pid=10&action=details"]
|
||||||
|
details:
|
||||||
|
# href="https://turknova.org/?p=torrents&pid=10&action=details&tid=40737"
|
||||||
|
selector: a[href*="?p=torrents&pid=10&action=details"]
|
||||||
|
attribute: href
|
||||||
|
download:
|
||||||
|
# from details page href="https://turknova.org/?p=torrents&pid=10&action=download&tid=40774"
|
||||||
|
selector: a[href*="?p=torrents&pid=10&action=details"]
|
||||||
|
attribute: href
|
||||||
|
filters:
|
||||||
|
- name: replace
|
||||||
|
args: ["details", "download"]
|
||||||
|
poster:
|
||||||
|
selector: a[rel="fancybox"]
|
||||||
|
attribute: href
|
||||||
|
date_day:
|
||||||
|
optional: true
|
||||||
|
# Uploaded Friday at 05:11 by
|
||||||
|
# Uploaded Today at 00:48 by
|
||||||
|
# Uploaded Yesterday at 23:57 by
|
||||||
|
selector: td.torrent_name:contains(" at ")
|
||||||
|
filters:
|
||||||
|
- name: regexp
|
||||||
|
args: "Uploaded (.+?) by"
|
||||||
|
- name: replace
|
||||||
|
args: [" at ", " "]
|
||||||
|
- name: fuzzytime
|
||||||
|
date_year:
|
||||||
|
# auto adjusted by site account profile
|
||||||
|
optional: true
|
||||||
|
# Uploaded 30-01-2019 15:02 by
|
||||||
|
selector: td.torrent_name:not(:contains(" at "))
|
||||||
|
filters:
|
||||||
|
- name: regexp
|
||||||
|
args: "Uploaded (.+?) by"
|
||||||
|
- name: dateparse
|
||||||
|
args: "dd-MM-yyyy HH:mm"
|
||||||
|
date:
|
||||||
|
text: "{{ if or .Result.date_day .Result.date_year }}{{ or .Result.date_day .Result.date_year }}{{ else }}now{{ end }}"
|
||||||
|
size:
|
||||||
|
selector: a[rel="torrent_size"]
|
||||||
|
seeders:
|
||||||
|
selector: a[rel="torrent_seeders"]
|
||||||
|
leechers:
|
||||||
|
selector: a[rel="torrent_leechers"]
|
||||||
|
grabs:
|
||||||
|
selector: a[rel="times_completed"]
|
||||||
|
downloadvolumefactor:
|
||||||
|
case:
|
||||||
|
"img[title=\"FREE!\"]": 0
|
||||||
|
"img[title=\"Download Multiplier: 0.5\"]": 0.5
|
||||||
|
"*": 1
|
||||||
|
uploadvolumefactor:
|
||||||
|
case:
|
||||||
|
"img[title=\"Upload Multiplier: 2\"]": 2
|
||||||
|
"*": 1
|
||||||
|
minimumratio:
|
||||||
|
text: 1.0
|
||||||
|
minimumseedtime:
|
||||||
|
# 3 days (as seconds = 3 x 24 x 60 x 60)
|
||||||
|
text: 259200
|
||||||
|
# TSUE 2.2
|
|
@ -711,7 +711,6 @@ namespace Jackett.Updater
|
||||||
"Definitions/tspate.yml",
|
"Definitions/tspate.yml",
|
||||||
"Definitions/ttobogo.yml",
|
"Definitions/ttobogo.yml",
|
||||||
"Definitions/ttsweb.yml",
|
"Definitions/ttsweb.yml",
|
||||||
"Definitions/turknova.yml",
|
|
||||||
"Definitions/turkseed.yml",
|
"Definitions/turkseed.yml",
|
||||||
"Definitions/turktracker.yml",
|
"Definitions/turktracker.yml",
|
||||||
"Definitions/tvroad.yml",
|
"Definitions/tvroad.yml",
|
||||||
|
|
Loading…
Reference in a new issue