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 }}"