added parser for Ohys-Raws

This commit is contained in:
milarin 2023-01-19 10:36:17 +01:00
parent 375fc1faab
commit 6dfc81a6db

View File

@ -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,
},
),
},
} }