added parser for Ohys-Raws
This commit is contained in:
parent
375fc1faab
commit
6dfc81a6db
21
parsers.go
21
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,
|
||||
},
|
||||
),
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user