Jackett/src/Jackett.Common/Definitions/ilcorsaronero.yml

161 lines
6.3 KiB
YAML
Raw Normal View History

---
2017-03-08 13:10:49 +00:00
site: ilcorsaronero
name: Il Corsaro Nero
description: "Il Corsaro Nero is an ITALIAN Public site for TV / MOVIES / GENERAL"
2017-03-08 13:10:49 +00:00
language: it-it
type: public
encoding: Windows-1252
followredirect: true
2017-03-08 13:10:49 +00:00
links:
- https://ilcorsaronero.xyz/
2020-01-18 05:26:04 +00:00
- https://ilcorsaronero.fun/
- https://ilcorsaronero.pro/
legacylinks:
- https://ilcorsaronero.live/
- https://ilcorsaronero.vip/
2017-03-08 13:10:49 +00:00
- https://ilcorsaronero.info/
2018-11-27 19:34:46 +00:00
- https://ilcorsaronero.ch/
2019-02-12 19:37:16 +00:00
- https://ilcorsaronero.cc/
2020-03-04 23:58:06 +00:00
- https://ilcorsaronero.pizza/
- https://ilcorsaronero.pw/
- https://ilcorsaronero.unblockit.pro/
- https://ilcorsaronero.unblockit.one/ # test and empty search fails, redirects to ilcorsaronero.fun
2017-03-08 13:10:49 +00:00
caps:
categorymappings:
- {id: 1, cat: Movies/HD, desc: "Movies BDRiP", default: true}
- {id: 2, cat: Audio, desc: "Music", default: true}
- {id: 3, cat: PC/Games, desc: "Games PC", default: true}
- {id: 4, cat: Other, desc: "Other", default: true}
- {id: 5, cat: TV/Anime, desc: "Anime", default: true}
- {id: 6, cat: Books/Ebook, desc: "Ebooks", default: true}
- {id: 7, cat: PC/0day, desc: "App Windows", default: true}
- {id: 8, cat: PC, desc: "App Linux", default: true}
- {id: 9, cat: PC/Mac, desc: "App Mac", default: true}
- {id: 13, cat: Console/PSP, desc: "Games Playstation", default: true}
- {id: 14, cat: Console/Xbox, desc: "Games Xbox", default: true}
- {id: 15, cat: TV, desc: "TV Series", default: true}
- {id: 16, cat: Other, desc: "Other", default: true}
- {id: 18, cat: Audio/Audiobook, desc: "Audio Book", default: true}
- {id: 19, cat: Movies/SD, desc: "Movies Screener", default: true}
- {id: 20, cat: Movies/DVD, desc: "Movies DVD", default: true}
2017-03-08 13:10:49 +00:00
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
2020-04-21 21:01:58 +00:00
music-search: [q]
2017-03-08 13:10:49 +00:00
settings:
- name: itorrents-links
type: checkbox
label: Add download links via itorrents.org
search:
paths:
- path: "{{if .Keywords}}advsearch.php?&category={{range .Categories}}{{.}};{{end}}&search={{ .Keywords}}&order=data&by=DESC&page=0{{else}}/browse/0{{end}}"
- path: "{{if .Keywords}}advsearch.php?&category={{range .Categories}}{{.}};{{end}}&search={{ .Keywords}}&order=data&by=DESC&page=1{{else}}/browse/1{{end}}"
- path: "{{if .Keywords}}advsearch.php?&category={{range .Categories}}{{.}};{{end}}&search={{ .Keywords}}&order=data&by=DESC&page=2{{else}}/browse/2{{end}}"
- path: "{{if .Keywords}}advsearch.php?&category={{range .Categories}}{{.}};{{end}}&search={{ .Keywords}}&order=data&by=DESC&page=3{{else}}/browse/3{{end}}"
- path: "{{if .Keywords}}advsearch.php?&category={{range .Categories}}{{.}};{{end}}&search={{ .Keywords}}&order=data&by=DESC&page=4{{else}}/browse/4{{end}}"
- path: "{{if .Keywords}}advsearch.php?&category={{range .Categories}}{{.}};{{end}}&search={{ .Keywords}}&order=data&by=DESC&page=5{{else}}/browse/5{{end}}"
keywordsfilters:
- 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"]
2020-01-18 05:26:04 +00:00
2017-03-08 13:10:49 +00:00
rows:
selector: "tr.odd,tr.odd2"
filters:
- name: andmatch
2020-01-18 05:26:04 +00:00
2017-03-08 13:10:49 +00:00
fields:
title:
selector: td:nth-child(2) a.tab
attribute: href
filters:
- name: split
args: [ "/", -1 ]
- name: diacritics
args: replace
2017-03-08 13:10:49 +00:00
- name: urldecode
- name: re_replace # replace special characters with " " (space)
args: ["[\\[!\"#$%&'()*+,\\-.\\/:;<=>?@[\\]^_`{|}~]", " "]
- name: re_replace # replace multiple spaces
args: ["[ ]{2,}", " "]
2017-03-08 13:10:49 +00:00
# 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)", ""]
2017-03-08 13:10:49 +00:00
category:
selector: td:nth-child(1) a
attribute: href
filters:
- name: split
args: [ "/", -1 ]
description:
selector: td:nth-child(1) a
attribute: href
filters:
- name: split
args: [ "/", -1 ]
- name: prepend
args: "cat="
2017-03-08 13:10:49 +00:00
details:
selector: td:nth-child(4) a
attribute: href
download-itorrents:
selector: input.downarrow
attribute: value
filters:
- name: prepend
args: "http://itorrents.org/torrent/"
- name: append
args: ".torrent"
download:
text: "{{if .Config.itorrents-links}}{{ .Result.download-itorrents }}{{else}}{{end}}"
magnet:
selector: input.downarrow
attribute: value
filters:
- name: prepend
args: "magnet:?xt=urn:btih:"
- name: append
args: "&dn={{ .Result.title }}.torrent&tr=udp://tracker.coppersurfer.tk:6969&tr=udp://tracker.leechers-paradise.org:6969&tr=udp://tracker.opentrackr.org:1337"
2017-03-08 13:10:49 +00:00
size:
selector: td:nth-child(3) font
date:
selector: td:nth-child(5) font
filters:
- name: dateparse
args: "02.01.06"
seeders:
selector: td:nth-child(6) font
filters:
- name: replace
args: ["n/a", "0"]
leechers:
selector: td:nth-child(7) font
filters:
- name: replace
args: ["n/a", "0"]
downloadvolumefactor:
2020-01-18 05:26:04 +00:00
text: 0
2017-03-08 13:10:49 +00:00
uploadvolumefactor:
2020-01-18 05:26:04 +00:00
text: 1
# engine n/a