From 6dfc81a6db0b3274447251864ca6e65f2060da2e Mon Sep 17 00:00:00 2001 From: milarin Date: Thu, 19 Jan 2023 10:36:17 +0100 Subject: [PATCH] added parser for Ohys-Raws --- parsers.go | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/parsers.go b/parsers.go index 090afe4..80fd563 100644 --- a/parsers.go +++ b/parsers.go @@ -101,4 +101,25 @@ var Parsers = []model.Parser{ }, ), }, + + { + Identity: "Ohys-Raws", + TorrentParser: RegexTorrentParser( + `^\[Ohys-Raws\] (.*?) - (\d+?) \(.*? \d+x(\d+?) .*?\)(?: v2)?\.mp4$`, + TorrentParseOptions{ + Name: 1, + Episode: 2, + Resolution: 3, + DefaultLanguages: []string{"ja"}, + DefaultSubtitles: []string{}, + }, + ), + FileParser: RegexFileParser( + `^\[Ohys-Raws\] (.*) - (.*?) (?:END )?\(.*?\)\.mp4$`, + FileParseOptions{ + Name: 1, + Episode: 2, + }, + ), + }, }