diff --git a/README.md b/README.md index 4ae6fca90..4e31f74ff 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * GloDLS * GTorrent.pro * Idope + * Il Corsaro Nero * Internet Archive (archive.org) * Isohunt2 * iTorrent diff --git a/src/Jackett.Common/Definitions/ilcorsaronero.yml b/src/Jackett.Common/Definitions/ilcorsaronero.yml new file mode 100644 index 000000000..f330b0b0f --- /dev/null +++ b/src/Jackett.Common/Definitions/ilcorsaronero.yml @@ -0,0 +1,174 @@ +--- +id: ilcorsaronero +name: Il Corsaro Nero +description: "Il Corsaro Nero is an ITALIAN Public site for TV / MOVIES / GENERAL" +language: it-IT +type: public +encoding: Windows-1252 +requestDelay: 2 +links: + - https://ilcorsaronero.link/ + - https://ilcorsaronero.torrentbay.st/ +legacylinks: + - https://ilcorsaronero.live/ + - https://ilcorsaronero.vip/ + - https://ilcorsaronero.info/ + - https://ilcorsaronero.ch/ + - https://ilcorsaronero.cc/ + - https://ilcorsaronero.pizza/ + - https://ilcorsaronero.pw/ + - https://ilcorsaronero.xyz/ + - https://ilcorsaronero.nocensor.world/ + - https://ilcorsaronero.nocensor.lol/ + - https://ilcorsaronero.nocensor.art/ + - https://ilcorsaronero.torrentbay.to/ + - https://ilcorsaronero.fun/ + - https://ilcorsaronero.pro/ + - https://ilcorsaronero.mrunblock.guru/ + - https://ilcorsaronero.mrunblock.life/ + - https://ilcorsaronero.nocensor.click/ + - https://ilcorsaronero.torrentbay.net/ + - https://ilcorsaronero.mrunblock.bond/ + - https://ilcorsaronero.nocensor.cloud/ + +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} + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + music-search: [q] + book-search: [q] + +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 }}" + + rows: + selector: "tr.odd,tr.odd2" + filters: + - name: andmatch + + fields: + category: + selector: td:nth-child(1) a + attribute: href + filters: + - name: split + args: ["/", -1] + title: + selector: td:nth-child(2) a.tab + attribute: href + filters: + - name: split + args: ["/", -1] + - name: replace # replace underscore with " " (space) + args: ["_", " "] + - 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)", ""] + # cleanup for Sonarr + - name: re_replace # EP 3 4 to E3-4 + args: ["(?i)\\sEP\\s(\\d{1,2})\\s(E?\\s?\\d{1,2})\\s", " E$1-$2 "] + - name: re_replace # S02E04 05 to S02E04-05 + args: ["(?i)\\sS(\\d{1,2})\\s?E\\s?(\\d{1,2})\\s(E?\\s?\\d{1,2})\\s", " S$1E$2-$3 "] + - name: re_replace + args: ["(?i)AC3\\s?(\\d)\\s(\\d)", "AC3 $1.$2"] + - name: re_replace + args: ["(?i) DD\\s?(\\d)\\s(\\d)", " DD $1.$2"] + - name: re_replace + args: ["(?i) DDP\\s?(\\d)\\s(\\d)", " DDP $1.$2"] + - name: re_replace + args: ["(?i)\\sE\\s?AC3", " EAC3"] + - name: re_replace + args: ["(?i)WEB\\sDL", "WEB-DL"] + - name: re_replace + args: ["(?i)HDTVRIP", "HDTV"] + description: + selector: td:nth-child(1) a + attribute: href + filters: + - name: split + args: ["/", -1] + - name: prepend + args: "cat=" + 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 }}" + infohash: + selector: input.downarrow + attribute: value + size: + selector: td:nth-child(3) font + date: + selector: td:nth-child(5) font + filters: + - name: append + args: " +01:00" # CET + - name: dateparse + args: "dd.MM.yy zzz" + 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: + text: 1 +# engine n/a diff --git a/src/Jackett.Updater/Program.cs b/src/Jackett.Updater/Program.cs index b2dd73999..e8a53eeff 100644 --- a/src/Jackett.Updater/Program.cs +++ b/src/Jackett.Updater/Program.cs @@ -445,7 +445,6 @@ namespace Jackett.Updater "Definitions/icetorrent.yml", // migrated to C# XtremeZone base tracker "Definitions/idopeclone.yml", "Definitions/ihdbits.yml", - "Definitions/ilcorsaronero.yml", "Definitions/ilcorsaroverde.yml", "Definitions/iloveclassics.yml", "Definitions/infinityt.yml",