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

add sdkino a Russian semi-private site. resolves #9244

This commit is contained in:
Garfield69 2020-07-29 19:46:55 +12:00
parent e76cc6a9d3
commit b03f412859
2 changed files with 149 additions and 0 deletions

View file

@ -197,6 +197,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* RockBox
* RuTracker
* Rustorka
* SDkino
* Sharewood
* SkTorrent
* SkTorrent-org

View file

@ -0,0 +1,148 @@
---
id: sdkino
name: SDkino
description: "SDkino is a RUSSIAN Semi-Private Torrent Tracker for MOVIES / TV"
language: ru-ru
type: semi-private
encoding: windows-1251
links:
- http://sdkino.net/ # site does not support https NET::ERR_CERT_AUTHORITY_INVALID
caps:
categorymappings:
- {id: 1, cat: Movies, desc: "Фильмы"}
- {id: 2, cat: TV/Anime, desc: "Мультфильмы"}
- {id: 3, cat: Other, desc: "Разное"}
- {id: 4, cat: TV, desc: "Сериалы"}
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: "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: striprussian
type: checkbox
label: Strip Russian Letters
default: false
login:
path: takelogin.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: td.embedded:has(div.error)
test:
path: /
selector: a[href="/logout.php"]
search:
paths:
- path: browse.php
keywordsfilters:
- name: re_replace # drop S01
args: ["(?i)(\\bS0*\\d+\\b)", ""]
- name: re_replace # drop S01E01
args: ["(?i)(\\bS0*\\d+E0*\\d+\\b)", ""]
inputs:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
# 0 active 1 incldead 2 onlydead 3 gold 4 noseeds 5 paid
incldead: 1
sort: "{{ .Config.sort }}"
type: "{{ .Config.type }}"
search: "{{ .Keywords }}"
rows:
selector: div.torrents_list > div.film
fields:
category:
selector: div.age-of-film a[href^="/browse.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
title:
selector: div.film-description a[href^="/details.php?id="]
filters:
# normalize to SXXEYY format
- name: re_replace
args: ["[\\.\\,\\:\\-\\/\\|\\[\\]\\(\\)]", " "]
- name: re_replace
args: ["(.*)(\\d+)\\s*[CСcс]езон\\s*(\\d+)\\s*(\\d+)\\s*[CСcс]ери[ия]\\s*из\\s*\\d+(.*)", "$1 S$2E$3-$4 rus $5"]
- name: re_replace
args: ["(.*)(\\d+)\\s*[CСcс]езон\\s*(\\d+)\\s*(\\d+)\\s*[CСcс]ери[ия]\\s*(.*)", "$1 S$2E$3-$4 rus $5"]
- name: re_replace
args: ["(.*)(\\d+)\\s*[CСcс]езон\\s*(\\d+)\\s[CСcс]ери[ия]\\s*из\\s*\\d+(.*)", "$1 S$2E$3 rus $4"]
- name: re_replace
args: ["(.*)(\\d+)\\s*[CСcс]езон(.*)", "$1 S$2 rus $3"]
- name: re_replace
args: ["(.*)(\\d+)\\s*[CСcс]]ери[ия](.*)", "$1 E$2 rus $3"]
- name: re_replace
args: ["(\\([А-Яа-яЁё\\W]+\\))|(^[А-Яа-яЁё\\W\\d]+\\/ )|([а-яА-ЯЁё \\-]+,+)|([а-яА-ЯЁё]+)", "{{ if .Config.striprussian }}{{ else }}$1$2$3$4{{ end }}"]
- name: replace
args: ["WEBRip", "WEBDL"]
- name: replace
args: ["WEB DL", "WEBDL"]
- name: replace
args: ["WEBDLRip", "WEBDL"]
- name: replace
args: ["HDTVRip", "HDTV"]
details:
selector: div.film-description a[href^="/details.php?id="]
attribute: href
download:
selector: a[href^="/download.php?id="]
attribute: href
magnet:
selector: a[href^="magnet:?xt="]
attribute: href
optional: true
banner:
selector: div.film-img a img
attribute: src
optional: true
date:
selector: span:has(i.fa-calendar-o)
filters:
- name: dateparse
args: "2006.1.2"
files:
selector: span:has(i.fa-files-o)
size:
selector: span:has(i.fa-folder-open-o)
grabs:
selector: span:has(span.fa-check-square-o)
seeders:
selector: span:has(i.fa-upload)
leechers:
selector: span:has(i.fa-download)
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1
# TBDev