From d4cd5d8dac42c80ee8ec53e931b28fbfccc0c338 Mon Sep 17 00:00:00 2001 From: xoaaC <35452459+xoaaC@users.noreply.github.com> Date: Thu, 10 Nov 2022 10:09:53 +0100 Subject: [PATCH] fix(indexers): immortalseed regex (#531) * fix(indexers): immortalseed regex * change IRC port to 7000 set TLS to true replace "IRCKEY" in placeholder and help test with "PASSKEY" for invite_command field. * simplified regex --- internal/indexer/definitions/immortalseed.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/internal/indexer/definitions/immortalseed.yaml b/internal/indexer/definitions/immortalseed.yaml index e494528..91dcd52 100644 --- a/internal/indexer/definitions/immortalseed.yaml +++ b/internal/indexer/definitions/immortalseed.yaml @@ -23,8 +23,8 @@ settings: irc: network: ImmortalSeed server: irc.immortalseed.me - port: 6667 - tls: false + port: 7000 + tls: true channels: - "#immortal" announcers: @@ -50,10 +50,10 @@ irc: - name: invite_command type: secret - default: "immortal invite USERNAME IRCKEY" + default: "immortal invite USERNAME PASSKEY" required: true label: Invite command - help: Invite auth with immortal. Replace USERNAME and IRCKEY. + help: Invite auth with immortal. Replace USERNAME and PASSKEY. parse: type: single @@ -62,7 +62,7 @@ parse: - "ImmortalSeed - Category: ( TV - High Definition ) Torrent: ( The.Show.S07E02.Lunch.At.Sea.720p.WEBRip.X264-GROUP1 ) Size: ( 457.07 MB ) Link: ( https://immortalseed.me/details.php?id=0000000 )" - "ImmortalSeed - Category: ( TV - High Definition ) Torrent: ( Other.Show.S01E02.1080p.WEB.H264-GROUP2 ) Size: ( 3.66 GB ) Link: ( https://immortalseed.me/details.php?id=0000000 )" - "ImmortalSeed - Category: ( Anime ) Torrent: ( Some.Anime.Show.S01E04.1080p.WEB.H264-GROUP3 ) Size: ( 1.34 GB ) Link: ( https://immortalseed.me/details.php?id=0000000 )" - pattern: '\s*ImmortalSeed - Category: \( ([^)]*) \) Torrent: \( ([^)]*) \) Size: \( ([^)]*) \) Link: \( (https?\:\/\/[^\/]+\/).*[&\?]id=(\d+) \)' + pattern: '\s*ImmortalSeed - Category: \( (.*) \) Torrent: \( (.*) \) Size: \( (.*) \)\s+Link: \( (https?:\/\/.*\/).*id=(\d+) \)' vars: - category - torrentName