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