From c840c68b761d92e9b141eb2d21d3e1c7d5028ccd Mon Sep 17 00:00:00 2001 From: Timon Ringwald Date: Thu, 25 Aug 2022 18:35:41 +0200 Subject: [PATCH] PuyaSubs parser added --- parsers.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/parsers.go b/parsers.go index e12f6b4..2fe4c27 100644 --- a/parsers.go +++ b/parsers.go @@ -44,4 +44,19 @@ var Parsers = []model.Parser{ ), FileParser: nil, }, + + { + Identity: "PuyaSubs!", + TorrentParser: regexTorrentParser( + `^\[PuyaSubs!\] (.*) - (\d+?) \[ESP-ENG\]\[(.*?)\]\[.*?\]\.mkv$`, + TorrentParseOptions{ + Name: 1, + Episode: 2, + Resolution: 3, + DefaultLanguages: []string{"ja"}, + DefaultSubtitles: []string{"en"}, + }, + ), + FileParser: nil, + }, }