Jackett/src/Jackett.Common/Definitions/shareisland.yml

212 lines
7.3 KiB
YAML
Raw Normal View History

---
site: shareisland
name: Shareisland
description: "A general italian tracker"
language: it-it
type: private
encoding: UTF-8
links:
2018-06-14 17:28:51 +00:00
- https://shareisland.org/
2018-06-07 16:19:57 +00:00
legacylinks:
2018-06-14 17:28:51 +00:00
- http://shareisland.org/
2018-06-07 16:19:57 +00:00
- http://www.shareisland.org/
caps:
categorymappings:
# Movie
- {id: 21, cat: Movies/DVD, desc: "Movie DVD-9"}
- {id: 11, cat: Movies/DVD, desc: "Movie DVD-5"}
- {id: 20, cat: Movies/SD, desc: "Movie DVDRip"}
2019-04-27 21:12:25 +00:00
- {id: 45, cat: Movies, desc: "Movie RIP mp4"}
- {id: 22, cat: Movies/UHD, desc: "Movie 4K-Ultra-HD"}
- {id: 23, cat: Movies/HD, desc: "Movie H-265"}
- {id: 24, cat: Movies/HD, desc: "Movie 1080p"}
- {id: 25, cat: Movies/HD, desc: "Movie 720p"}
- {id: 26, cat: Movies/3D, desc: "Movie 3D-FullHD"}
2019-04-27 21:12:25 +00:00
- {id: 27, cat: Movies/BluRay, desc: "Movie BluRay"}
- {id: 43, cat: Movies/SD, desc: "Movie BDRip"}
- {id: 29, cat: Movies/SD, desc: "Movie Cine News"}
2019-04-27 21:12:25 +00:00
- {id: 30, cat: TV/HD, desc: "Serie TV HD"}
- {id: 31, cat: TV/SD, desc: "Serie TV SD"}
- {id: 35, cat: TV/Other, desc: "Programmi TV"}
- {id: 42, cat: TV/Documentary, desc: "Documentari"}
2018-04-01 12:27:37 +00:00
# Music
- {id: 36, cat: Audio/MP3, desc: "Music MP3"}
- {id: 37, cat: Audio/Lossless, desc: "Music Flac"}
2019-08-05 04:35:52 +00:00
- {id: 46, cat: Audio, desc: "Music"}
# Games
- {id: 18, cat: PC/Games, desc: "Games PC"}
- {id: 19, cat: Console/PS3, desc: "Games PS3"}
- {id: 33, cat: Console/Xbox, desc: "Games XboX"}
- {id: 39, cat: Console/Wii, desc: "Games Wii"}
- {id: 40, cat: Console/Other, desc: "Games Nintendo"}
# Anime
2018-04-01 12:27:37 +00:00
- {id: 5, cat: TV/Anime, desc: "Anime"}
# Edicola
- {id: 16, cat: Books, desc: "Edicola Quotidiani"}
- {id: 28, cat: Books, desc: "Edicola Libri"}
- {id: 17, cat: Books, desc: "Edicola Riviste"}
- {id: 41, cat: Books, desc: "Edicola Fumetti"}
# Applicazioni
2019-04-27 21:12:25 +00:00
- {id: 4, cat: PC, desc: "IPTV"}
- {id: 7, cat: PC/0day, desc: "Applicazioni PC"}
- {id: 8, cat: PC/0day, desc: "Applicazioni Linux"}
- {id: 9, cat: PC/Mac, desc: "Applicazioni Mac"}
- {id: 32, cat: PC/Phone-Android, desc: "Applicazioni Android"}
- {id: 34, cat: PC/Phone-IOS, desc: "Applicazioni Iphone"}
# Vip
- {id: 38, cat: Other, desc: "V.I.P."}
# Adult
- {id: 13, cat: XXX, desc: "Riviste XXX"}
- {id: 14, cat: XXX, desc: "Fumetti XXX"}
- {id: 44, cat: XXX, desc: "Adulti"}
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
login:
path: index.php?page=login
method: post
inputs:
uid: "{{ .Config.username }}"
pwd: "{{ .Config.password }}"
error:
- selector: div.error
- selector: body:has(h1:contains("403 Forbidden")) # for banned IP notices
- selector: td.lista > span[style="color:#FF0000;"] # Nome Utente non corretto
test:
path: index.php
selector: a[href="logout.php"]
# download:
# before:
# path: thanks.php
# method: "post"
# inputs:
# infohash: "{{ .DownloadUri.Query.id }}"
# thanks: "1"
# rndval: "1487013827343"
# selector: a[href^="download.php?id="]
search:
paths:
2019-04-30 00:19:59 +00:00
# 30 entries per page
- path: index.php
inputs:
pages: 1
- path: index.php
inputs:
pages: 2
- path: index.php
inputs:
pages: 3
- path: index.php
inputs:
pages: 4
inputs:
search: "{{ .Keywords }}"
category: "{{range .Categories}}{{.}};{{end}}"
page: torrents
active: 0
order: 3
by: 2
keywordsfilters:
- name: diacritics
args: replace
- name: re_replace # S01 to 1
args: ["(?i)\\bS0*(\\d+)\\b", "$1"]
- name: re_replace # S01E01 to 1 1
args: ["(?i)\\bS0*(\\d+)E0*(\\d+)\\b", "$1 $2"]
rows:
2019-04-30 00:19:59 +00:00
selector: table.lista > tbody > tr:has(a[href^="index.php?page=torrents&category="])
filters:
- name: andmatch
fields:
category:
selector: a[href^="index.php?page=torrents&category="]
attribute: href
filters:
- name: querystring
args: category
2019-04-30 00:19:59 +00:00
title:
selector: a[href^="index.php?page=torrent-details&id="]
filters:
# - name: re_replace # replace special characters with " " (space)
# args: ["[^a-zA-Z0-9\\s]|\\.", " "]
- name: re_replace # replace special characters with " " (space)
args: ["[\\[!\"#$%&'()*+,\\-.\\/:;<=>?@[\\]^_`{|}~]", " "]
- name: diacritics
args: replace
- name: re_replace # replace multiple spaces
args: ["[ ]{2,}", " "]
# normalize to SXXEYY format
- name: re_replace # S01 E01 to S01E01
args: ["(?i)\\bS(\\d+)\\sE(\\d+)\\b", "S$1E$2"]
- name: re_replace # 01x01 to S01E01
args: ["(?i)(\\d{2})x(\\d+)", "S$1E$2"]
- name: re_replace # 1x01 to S01E01
args: ["(?i)\\b(\\d{1})x(\\d+)", "S0$1E$2"]
- name: re_replace # Stagione X --> S0X
args: ["(?i)\\bStagion[ei]\\s?(\\d{1})\\b|\\bSeason'?s?\\s?(\\d{1})\\b", "S0$1$2"]
- name: re_replace # Stagione XX --> SXX
args: ["(?i)\\bStagion[ei]\\s?(\\d{2,})\\b|\\bSeason'?s?\\s?(\\d{2,})\\b", "S$1$2"]
- name: re_replace # Episodio 4 to E4
args: ["(?i)\\b(?:[\\/\\|]?Episodio\\s?(\\d+)|Puntata\\s?(\\d+))", "E$1$2"]
- name: re_replace # Episodi 4 5 to E04-05
args: ["(?i)\\b(?:Puntate\\s*)(\\d+)\\s?(\\d+)", "E0$1-0$2"]
- name: re_replace # rimozioni varie
args: ["(?i)(Serie completa|Completat?a?|in pausa)", ""]
details:
selector: a[href^="index.php?page=torrent-details&id="]
attribute: href
2018-01-15 19:11:58 +00:00
banner:
optional: true
selector: a[href^="index.php?page=torrent-details&id="]
2018-01-15 19:11:58 +00:00
attribute: onmouseover
filters:
- name: regexp
args: "src=(.+?) "
download:
# selector: a[href^="index.php?page=downloadcheck&id="]
selector: a[href^="download.php?id="]
attribute: href
size:
2019-08-05 04:35:52 +00:00
selector: td:nth-child(2) p:nth-last-child(5)
filters:
2019-08-05 04:35:52 +00:00
- name: regexp
args: ":\\s+(.+?)$"
2019-04-30 00:19:59 +00:00
date:
2019-08-05 04:35:52 +00:00
selector: td:nth-child(2) p:nth-last-child(4)
filters:
2019-08-05 04:35:52 +00:00
- name: regexp
args: ":\\s+(.+?)$"
2019-04-30 00:19:59 +00:00
- name: dateparse
2019-08-05 04:35:52 +00:00
args: "15:04:05 02/01/2006"
seeders:
selector: td:nth-child(2) p:nth-last-child(3) a:nth-child(1)
leechers:
selector: td:nth-child(2) p:nth-last-child(3) a:nth-child(2)
grabs:
text: 0
grabs:
selector: td:nth-child(2) p:nth-last-child(3) a:nth-child(3)
optional: true
downloadvolumefactor:
case:
img[alt="Free Leech"]: "0"
img[alt="Gold 100% Free"]: "0"
img[alt="Silver 50% Free"]: "0.5"
2018-04-01 12:28:18 +00:00
img[alt="Bronze 25% Free"]: "0.75"
"*": "1"
uploadvolumefactor:
2018-04-01 12:27:37 +00:00
text: "1"
uploadvolumefactor:
optional: true
selector: img[alt$="x Upload Multiplier"]
attribute: alt
filters:
- name: replace
args: ["x Upload Multiplier", ""]