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
This commit is contained in:
xoaaC 2022-11-10 10:09:53 +01:00 committed by GitHub
parent 6295239985
commit d4cd5d8dac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,8 +23,8 @@ settings:
irc: irc:
network: ImmortalSeed network: ImmortalSeed
server: irc.immortalseed.me server: irc.immortalseed.me
port: 6667 port: 7000
tls: false tls: true
channels: channels:
- "#immortal" - "#immortal"
announcers: announcers:
@ -50,10 +50,10 @@ irc:
- name: invite_command - name: invite_command
type: secret type: secret
default: "immortal invite USERNAME IRCKEY" default: "immortal invite USERNAME PASSKEY"
required: true required: true
label: Invite command label: Invite command
help: Invite auth with immortal. Replace USERNAME and IRCKEY. help: Invite auth with immortal. Replace USERNAME and PASSKEY.
parse: parse:
type: single 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: ( 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: ( 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 )" - "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: vars:
- category - category
- torrentName - torrentName