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

232 lines
8.2 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"}
- {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"}
- {id: 27, cat: Movies/BluRay, desc: "Movie Blu Ray Disk"}
- {id: 43, cat: Movies/SD, desc: "BMovie DRip"}
- {id: 29, cat: Movies/SD, desc: "Movie Cine News"}
- {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"}
# 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
- {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"]
search:
paths:
- path: index.php
inputs:
pages: 1
- path: index.php
inputs:
pages: 2
- path: index.php
inputs:
pages: 3
- path: index.php
inputs:
pages: 4
- path: index.php
inputs:
pages: 5
- path: index.php
inputs:
pages: 6
- path: index.php
inputs:
pages: 7
- path: index.php
inputs:
pages: 8
- path: index.php
inputs:
pages: 9
- path: index.php
inputs:
pages: 10
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:
selector: div.b-content > table > tbody > tr > td > table.lista > tbody > tr:has(a[href^="index.php?page=torrents&category="])
filters:
- name: andmatch
fields:
download:
selector: a[href^="index.php?page=downloadcheck&id="]
attribute: href
2018-01-10 15:38:19 +00:00
title: # shortened title?
selector: td:nth-child(2)
2018-01-10 15:38:19 +00:00
filters:
- name: re_replace # replace special characters with " " (space)
args: ["[^a-zA-Z0-9\\s]|\\.", " "]
- 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)", ""]
2018-01-10 15:38:19 +00:00
title: # long titles?
optional: true
selector: td:nth-child(2)
attribute: title
filters:
- name: re_replace # replace special characters with " " (space)
args: ["[^a-zA-Z0-9\\s]|\\.", " "]
- 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)", ""]
category:
selector: td:nth-child(1) a[href^="index.php?page=torrents&category="]
attribute: href
filters:
- name: querystring
args: category
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="][onmouseover]
attribute: onmouseover
filters:
- name: regexp
args: "src=(.+?) "
size:
selector: td:nth-last-child(3)
date:
selector: td[width="85"] # some users have an extra uploader column between the grabs and size column, see #4435
filters:
- name: dateparse
args: "02/01/2006"
grabs:
selector: td[width="85"] + td + td + td
filters:
- name: replace
args: ["---", "0"]
seeders:
selector: td[width="85"] + td
leechers:
selector: td[width="85"] + td + td
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", ""]