From 13b67b2fb0b5f8f112980af66a0ade51bffdede5 Mon Sep 17 00:00:00 2001 From: martylukyy <35452459+martylukyy@users.noreply.github.com> Date: Sun, 25 Aug 2024 15:54:02 +0200 Subject: [PATCH] fix(indexers): adapt TheOldSchool regex (#1628) --- internal/indexer/definitions/theoldschool.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/internal/indexer/definitions/theoldschool.yaml b/internal/indexer/definitions/theoldschool.yaml index 4311abe..992fafd 100644 --- a/internal/indexer/definitions/theoldschool.yaml +++ b/internal/indexer/definitions/theoldschool.yaml @@ -80,7 +80,18 @@ irc: uploader: oldschool baseUrl: https://theoldschool.cc/ torrentId: "00000" - pattern: '\[NEW\] \[(.*)\] \[(.*)\] \[(.*)\] \[(.*)\] \[(.*)%\](?:\s\[pre (.*)\])? par (.*) -> (https?\:\/\/.+\/).+\/(\d+)' + - line: ' [EXCLUSiVE] [Series] [A.Show.S07.MULTi.1080p.WEB.H264-GROUP] [WEB] [71.16 GiB] [0%] [pre 23h 15m 54s] par xxx -> https://theoldschool.cc/torrents/00000' + expect: + category: Series + torrentName: A.Show.S07.MULTi.1080p.WEB.H264-GROUP + source: WEB + torrentSize: 71.16 GiB + freeleechPercent: "0" + preTime: 23h 15m 54s + uploader: xxx + baseUrl: https://theoldschool.cc/ + torrentId: "00000" + pattern: '\[.*\] \[(.*)\] \[(.*)\] \[(.*)\] \[(.*)\] \[(.*)%\](?:\s\[pre (.*)\])? par (.*) -> (https?\:\/\/.+\/).+\/(\d+)' vars: - category - torrentName