From 0e396d5bc10d304cee59f0535c8484593420f66a Mon Sep 17 00:00:00 2001 From: milarin Date: Tue, 17 Jan 2023 12:15:25 +0100 Subject: [PATCH] NanakoRaws-JP with japanese subtitles added --- parsers.go | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/parsers.go b/parsers.go index bd9be72..b874ca8 100644 --- a/parsers.go +++ b/parsers.go @@ -78,4 +78,25 @@ var Parsers = []model.Parser{ ), FileEncoding: "-map 0 -c:v copy -c:a copy -c:s copy -metadata:s:a:0 language=jpn", }, + + { + Identity: "NanakoRaws-JP", + TorrentParser: RegexTorrentParser( + `^\[NanakoRaws\] (.*?) - (\d+?)(?:v\d+)?(?: END)? \((.*?)p\)(?: \(.*?\))?\.mkv \(include JPsub\)`, + TorrentParseOptions{ + Name: 1, + Episode: 2, + Resolution: 3, + DefaultLanguages: []string{"ja"}, + DefaultSubtitles: []string{"ja"}, + }, + ), + FileParser: RegexFileParser( + `^\[NanakoRaws\] (.*?) - (\d+?)(?:v\d+)?(?: END)? \((.*?)p\)(?: \(.*?\))?\.mkv`, + FileParseOptions{ + Name: 1, + Episode: 2, + }, + ), + }, }