From 28874564e122184478b0c83d33d653d6f218c587 Mon Sep 17 00:00:00 2001 From: soup Date: Tue, 7 Feb 2023 00:20:28 +0100 Subject: [PATCH] fix(indexers) alpharatio infourl (#697) * fix(indexer) fixed regex for alpharatio infourl * updated alpharatio regex * changed infourl --- internal/indexer/definitions/alpharatio.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/indexer/definitions/alpharatio.yaml b/internal/indexer/definitions/alpharatio.yaml index f47cd39..37754ae 100644 --- a/internal/indexer/definitions/alpharatio.yaml +++ b/internal/indexer/definitions/alpharatio.yaml @@ -66,11 +66,12 @@ irc: lines: - test: - "[new release]-[moviehd]-[that.movie.2017.internal.1080p.bluray.crf.x264-group]-[url]-[ https://alpharatio.cc/torrents.php?id=000000 ]-[ 000000 ]-[ uploaded 2 mins, 59 secs after pre. ]" - pattern: '\[.*\]-\[(.*)\]-\[(.*)\]-\[.*\]-\[ (https?://.+/).*]-\[ (\d+) \](?:-\[ \w* (.*) after .* ])?' + pattern: '\[.*\]-\[(.*)\]-\[(.*)\]-\[.*\]-\[ (https?://.+/).*id=(.*) ]-\[ (\d+) \](?:-\[ \w* (.*) after .* ])?' vars: - category - torrentName - baseUrl + - groupId - torrentId - preTime - test: @@ -83,5 +84,5 @@ irc: - auto match: - infourl: "/torrents.php?id={{ .torrentId }}" + infourl: "/torrents.php?id={{ .groupId }}&torrentid={{ .torrentId }}" torrenturl: "/torrents.php?action=download&id={{ .torrentId }}&authkey={{ .authkey }}&torrent_pass={{ .torrent_pass }}"