2018-03-23 10:21:22 +00:00
|
|
|
---
|
2017-03-08 13:10:49 +00:00
|
|
|
site: ilcorsaronero
|
|
|
|
name: Il Corsaro Nero
|
2017-10-04 05:05:10 +00:00
|
|
|
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: UTF-8
|
|
|
|
links:
|
|
|
|
- https://ilcorsaronero.info/
|
2017-06-08 09:07:09 +00:00
|
|
|
certificates:
|
2018-03-23 10:22:01 +00:00
|
|
|
- aa7c40aa360a1cec8a9687312fd50402b912e618 # incomplete CA chain
|
2017-03-08 13:10:49 +00:00
|
|
|
|
|
|
|
caps:
|
2017-03-15 18:52:06 +00:00
|
|
|
categorymappings:
|
|
|
|
- {id: 1, cat: Movies/HD, desc: "BDRiP"}
|
2017-12-28 19:49:09 +00:00
|
|
|
- {id: 2, cat: Audio, desc: "Music"}
|
|
|
|
- {id: 2, cat: PC/Games, desc: "Games"}
|
2017-03-15 18:52:06 +00:00
|
|
|
- {id: 5, cat: TV/Anime, desc: "Anime"}
|
2017-12-28 19:49:09 +00:00
|
|
|
- {id: 7, cat: PC/0day, desc: "App"}
|
2017-03-15 18:52:06 +00:00
|
|
|
- {id: 15, cat: TV, desc: "TV Series"}
|
|
|
|
- {id: 19, cat: Movies/SD, desc: "Screener"}
|
|
|
|
- {id: 20, cat: Movies/SD, desc: "Full DVD"}
|
2017-03-08 13:10:49 +00:00
|
|
|
|
|
|
|
modes:
|
|
|
|
search: [q]
|
|
|
|
tv-search: [q, season, ep]
|
|
|
|
movie-search: [q]
|
|
|
|
|
|
|
|
settings:
|
|
|
|
- name: itorrents-links
|
|
|
|
type: checkbox
|
|
|
|
label: Add download links via itorrents.org
|
2017-03-15 18:52:06 +00:00
|
|
|
- name: advanced-search
|
|
|
|
type: checkbox
|
|
|
|
label: Use the advanced search of IlCorsaroNero (experimental)
|
2017-03-08 13:10:49 +00:00
|
|
|
|
|
|
|
search:
|
2017-10-23 17:55:22 +00:00
|
|
|
paths:
|
2017-03-15 18:52:06 +00:00
|
|
|
##### Are the "not" and "and" functions implemented? Or am I doing it wrong?
|
|
|
|
# path: "{{if and .Query.Keywords .advanced-search}}adv/{{ .Query.Keywords}}.html
|
|
|
|
# {{else if and .Query.Keywords (not .advanced-search)}}argh.php?search={{ .Query.Keywords}}
|
|
|
|
# {{else}}/recenti
|
|
|
|
# {{end}}"
|
2018-03-23 10:21:22 +00:00
|
|
|
- path: "{{if .Keywords}}argh.php?search={{ .Keywords}}
|
2017-03-15 18:52:06 +00:00
|
|
|
{{else}}/recenti
|
|
|
|
{{end}}"
|
2018-03-23 10:21:22 +00:00
|
|
|
keywordsfilters:
|
|
|
|
- name: re_replace
|
|
|
|
args: ["S[0-9]{2}([^E]|$)", ""] # remove season tag without episode (search doesn't support it)
|
|
|
|
- name: diacritics
|
|
|
|
args: replace
|
|
|
|
# most ITA TV torrents are in XXxYY format, so we search without S/E prefixes and filter later
|
|
|
|
- name: re_replace
|
|
|
|
args: ["S0?(\\d{1,2})", " $1 "]
|
|
|
|
- name: re_replace
|
|
|
|
args: ["E(\\d{2,3})", " $1 "]
|
2017-03-08 13:10:49 +00:00
|
|
|
rows:
|
|
|
|
selector: "tr.odd,tr.odd2"
|
|
|
|
fields:
|
|
|
|
title:
|
|
|
|
selector: td:nth-child(2) a.tab
|
|
|
|
attribute: href
|
|
|
|
filters:
|
|
|
|
- name: split
|
|
|
|
args: [ "/", -1 ]
|
|
|
|
- name: urldecode
|
2018-03-25 15:23:11 +00:00
|
|
|
- name: re_replace
|
|
|
|
args: [ "_+", " "]
|
2018-03-23 10:21:22 +00:00
|
|
|
- name: replace
|
|
|
|
args: [ ".", " "]
|
2018-03-25 15:23:11 +00:00
|
|
|
- name: re_replace
|
|
|
|
args: [ "\\s{2,}", " "]
|
2017-03-08 13:10:49 +00:00
|
|
|
# normalize to SXXEYY format
|
|
|
|
- name: re_replace
|
|
|
|
args: ["(\\d{2})x(\\d{2})", "S$1E$2"]
|
|
|
|
- name: re_replace
|
|
|
|
args: ["(\\d{1})x(\\d{2})", "S0$1E$2"]
|
2018-03-23 10:21:22 +00:00
|
|
|
- name: re_replace #Stagione X --> S0X
|
|
|
|
args: ["Stagione (\\d{0,1}\\s)", "S0$1"]
|
|
|
|
- name: re_replace #Stagione XX --> SXX
|
|
|
|
args: ["Stagione (\\d{2}\\s)", "S$1"]
|
|
|
|
- name: re_replace #/ Episodio [YY-YY --> EYY-YY
|
|
|
|
args: ["(\\s\\/\\sEpisodio|\\s\\/\\sEpisodi|\\sEpisodio|\\s\\|\\sEpisodio|\\sEpisodi)\\s\\[", "E"]
|
|
|
|
- name: re_replace #/ Completa [episodi YY-YY --> EYY-YY
|
|
|
|
args: ["(\\s\\/\\sCompleta\\s\\[episodi\\s)", "E"]
|
|
|
|
- name: re_replace #remove di YY] | remove /YY]
|
|
|
|
args: ["(\\sdi\\s\\d{1,2}|\\/\\d{1,2})\\]", " "]
|
|
|
|
- name: re_replace #remove various
|
|
|
|
args: ["(Serie completa|Completa|\\[in pausa\\])", ""]
|
|
|
|
# fine prova
|
2018-03-25 15:23:11 +00:00
|
|
|
- name: re_replace #try to find multi episode
|
|
|
|
args: ["(S\\d{2}E\\d{2})\\s(\\d{2})", "$1-$2"]
|
2017-03-08 13:10:49 +00:00
|
|
|
category:
|
|
|
|
selector: td:nth-child(1) a
|
|
|
|
attribute: href
|
|
|
|
filters:
|
|
|
|
- name: split
|
|
|
|
args: [ "/", -1 ]
|
|
|
|
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"
|
|
|
|
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:
|
|
|
|
text: "0"
|
|
|
|
uploadvolumefactor:
|
2017-03-15 18:52:06 +00:00
|
|
|
text: "1"
|