From 9f3ca433b38ff3e14abff2dcd4a4370c72f168ff Mon Sep 17 00:00:00 2001 From: Ludvig Lundgren Date: Wed, 19 Jan 2022 18:56:18 +0100 Subject: [PATCH] feat(indexers): mtv parse category from tags (#94) --- internal/indexer/definitions/morethantv.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/indexer/definitions/morethantv.yaml b/internal/indexer/definitions/morethantv.yaml index fc73272..095160c 100644 --- a/internal/indexer/definitions/morethantv.yaml +++ b/internal/indexer/definitions/morethantv.yaml @@ -48,12 +48,13 @@ parse: lines: - test: - "TV.Show.2008.720p.BluRay.DTS.x264-TEST - Size: 6.56 GiB - Uploader: Test - Tags: autoup,h264,hd,dts.audio,bluray,720p,p2p.group.release,Test.release,hd.movie - https://www.morethantv.me/torrents.php?torrentid=000000" - pattern: '^(.*?) - Size: ([0-9]+?.*?) - Uploader: (.*?) - Tags: (.*) - (https?:\/\/.*torrents.php\?)torrentid=(.*)$' + pattern: '^(.*?) - Size: ([0-9]+?.*?) - Uploader: (.*?) - Tags: (.*(hd.episode|hd.season|sd.episode|sd.eason|sd.movies|hd.movie)) - (https?:\/\/.*torrents.php\?)torrentid=(.*)$' vars: - torrentName - size - uploader - tags + - category - baseUrl - torrentId