mirror of
https://github.com/Jackett/Jackett
synced 2025-01-03 13:46:10 +00:00
add scenelinks a Romanian private site. resolves #14702
This commit is contained in:
parent
5d3a2dac31
commit
0390722b18
2 changed files with 175 additions and 0 deletions
|
@ -508,6 +508,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht
|
|||
* Romanian Metal Torrents (RMT) [![(invite needed)][inviteneeded]](#)
|
||||
* Rousi
|
||||
* SceneHD [![(invite needed)][inviteneeded]](#)
|
||||
* SceneLinks (SL)
|
||||
* SceneRush
|
||||
* SceneTime
|
||||
* Secret Cinema
|
||||
|
|
174
src/Jackett.Common/Definitions/scenelinks.yml
Normal file
174
src/Jackett.Common/Definitions/scenelinks.yml
Normal file
|
@ -0,0 +1,174 @@
|
|||
---
|
||||
id: scenelinks
|
||||
name: SceneLinks
|
||||
description: "SceneLinks (SL) is a ROMANIAN Private Torrent Tracker for MOVIES / TV / GENERAL"
|
||||
language: ro-RO
|
||||
type: private
|
||||
encoding: UTF-8
|
||||
requestDelay: 2
|
||||
links:
|
||||
- https://scenelinks.io/
|
||||
|
||||
caps:
|
||||
categorymappings:
|
||||
# cat3 is excluded.
|
||||
- {id: 163, cat: TV/Anime, desc: "Anime / Hentai"}
|
||||
- {id: 146, cat: PC, desc: "Applications"}
|
||||
- {id: 151, cat: Books/EBook, desc: "E-books"}
|
||||
- {id: 103, cat: PC/Games, desc: "Games: PC"}
|
||||
- {id: 174, cat: TV/HD, desc: "HDTV Episodes"}
|
||||
- {id: 175, cat: TV/HD, desc: "HDTV Episodes-Ro"}
|
||||
- {id: 149, cat: Other, desc: "Images"}
|
||||
- {id: 165, cat: PC, desc: "Linux"}
|
||||
- {id: 164, cat: PC/Mobile-Other, desc: "Mobile"}
|
||||
- {id: 161, cat: Movies/UHD, desc: "Movies: 4K(2160p)"}
|
||||
- {id: 162, cat: Movies/UHD, desc: "Movies: 4K-RO(2160p)"}
|
||||
- {id: 138, cat: Movies/BluRay, desc: "Movies: BluRay"}
|
||||
- {id: 148, cat: Movies/BluRay, desc: "Movies: BluRay-RO"}
|
||||
- {id: 82, cat: Movies/DVD, desc: "Movies: DVD"}
|
||||
- {id: 83, cat: Movies/DVD, desc: "Movies: DVD-Ro"}
|
||||
- {id: 147, cat: Movies/HD, desc: "Movies: HD"}
|
||||
- {id: 108, cat: Movies/HD, desc: "Movies: HD-Ro"}
|
||||
- {id: 1, cat: Movies/SD, desc: "Movies: SD"}
|
||||
- {id: 2, cat: Movies/SD, desc: "Movies: SD-Ro"}
|
||||
- {id: 142, cat: Audio, desc: "Music"}
|
||||
- {id: 143, cat: Audio/Video, desc: "Music Video"}
|
||||
- {id: 160, cat: Movies, desc: "Ro Movies"}
|
||||
- {id: 159, cat: TV, desc: "Ro TV"}
|
||||
- {id: 166, cat: TV/Sport, desc: "Sports"}
|
||||
- {id: 158, cat: TV/SD, desc: "TV Episodes (SD)"}
|
||||
- {id: 153, cat: TV/SD, desc: "TV Episodes-Ro (SD)"}
|
||||
|
||||
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: Filter 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 }}"
|
||||
error:
|
||||
- selector: td.embedded:has(h2:contains("failed"))
|
||||
test:
|
||||
path: index.php
|
||||
selector: a[href="logout.php"]
|
||||
|
||||
search:
|
||||
paths:
|
||||
- path: browse.php
|
||||
# note: excluding cat3 which is only available on path: browseadult.php which uses a different search engine
|
||||
inputs:
|
||||
$raw: "{{ if .Categories}}{{ range .Categories }}c{{.}}=1&{{end}}{{ else }}cat=0{{ end }}"
|
||||
search: "{{ .Keywords }}"
|
||||
# 0 name, 1 descr, 2 genre (not reliable)
|
||||
blah: 0
|
||||
sort: "{{ .Config.sort }}"
|
||||
type: "{{ .Config.type }}"
|
||||
# does not support imdbid searching or return imdb in results.
|
||||
Search: Search
|
||||
|
||||
rows:
|
||||
selector: "table[border=\"1\"] > tbody > tr:has(a[href^=\"download.php?id=\"]){{ if .Config.freeleech }}:has(a#free-btn){{ else }}{{ end }}"
|
||||
|
||||
fields:
|
||||
category:
|
||||
selector: a[href^="browse.php?cat="]
|
||||
attribute: href
|
||||
filters:
|
||||
- name: querystring
|
||||
args: cat
|
||||
title:
|
||||
selector: a[href^="download.php?id="]
|
||||
attribute: href
|
||||
filters:
|
||||
- name: querystring
|
||||
args: name
|
||||
- name: replace
|
||||
args: [".torrent", ""]
|
||||
details:
|
||||
selector: a[href^="details.php?id="]
|
||||
attribute: href
|
||||
poster:
|
||||
selector: a[href^="details.php?id="]
|
||||
attribute: onmouseover
|
||||
filters:
|
||||
- name: regexp
|
||||
args: src=([^\s]+)
|
||||
download:
|
||||
selector: a[href^="download.php?id="]
|
||||
attribute: href
|
||||
date:
|
||||
selector: td:nth-last-child(5)
|
||||
filters:
|
||||
- name: append
|
||||
args: " +00:00" # auto adjusted by site account profile
|
||||
- name: dateparse
|
||||
args: "yyyy-MM-ddHH:mm:ss zzz"
|
||||
size:
|
||||
selector: td:nth-last-child(4)
|
||||
grabs:
|
||||
selector: td:nth-last-child(3)
|
||||
seeders:
|
||||
selector: td:nth-last-child(2)
|
||||
leechers:
|
||||
selector: td:nth-last-child(1)
|
||||
genre:
|
||||
selector: td:nth-child(2) > i:nth-last-child(1)
|
||||
filters:
|
||||
- name: re_replace
|
||||
args: ["(?i)(Science Fiction)", "Science_Fiction"]
|
||||
- name: replace
|
||||
args: [" & ", "_&_"]
|
||||
description:
|
||||
text: "{{ .Result.genre }}"
|
||||
downloadvolumefactor:
|
||||
case:
|
||||
"a#free-btn": 0
|
||||
"*": 1
|
||||
uploadvolumefactor:
|
||||
case:
|
||||
"a#double-btn": 2
|
||||
"*": 1
|
||||
minimumratio:
|
||||
text: 1.0
|
||||
minimumseedtime:
|
||||
# 3 days (as seconds = 3 x 24 x 60 x 60)
|
||||
text: 259200
|
||||
# TBDEV
|
Loading…
Reference in a new issue