feat(indexers): IRC do not require auth for irc.rizon.net (#1137)

* remove nickserv fields
add tests to subsplease
add infourl to subsplease

* re-add nickserv but set not required

* re-add rss since SubsPlease has RSS on site

---------

Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
This commit is contained in:
Kyle Henfrey 2023-09-22 17:31:37 +01:00 committed by GitHub
parent 1413cf9ff3
commit ccd823e118
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 3 deletions

View file

@ -21,6 +21,7 @@ irc:
channels:
- "#subsplease"
announcers:
- "NekoNeko"
- "Katou"
settings:
- name: nick
@ -31,26 +32,30 @@ irc:
- name: auth.account
type: text
required: true
required: false
label: NickServ Account
help: NickServ account. Make sure to group your main user and bot.
- name: auth.password
type: secret
required: true
required: false
label: NickServ Password
help: NickServ password
parse:
type: single
lines:
- pattern: '\[Release\] (.*(SubsPlease).*?)\.?(mkv)? \((\d+.?\d*[KMGTP]?B)\) - .* - (.*)'
- test:
- "[Release] [SubsPlease] Title - 01 (480p) [636F636B].mkv (420.69MB) - https://nyaa.si/view/0000000 - https://nyaa.si/view/0000000/torrent"
- pattern: '\[Release\] (.*(SubsPlease).*?)\.?(mkv)? \((\d+.?\d*[KMGTP]?B)\) - (.*) - (.*)'
vars:
- torrentName
- releaseGroup
- releaseTags
- torrentSize
- infoUrl
- torrentUrl
match:
infourl: "{{ .infoUrl }}"
torrenturl: "{{ .torrentUrl }}"

View file

@ -38,6 +38,7 @@ irc:
required: false
label: NickServ Password
help: NickServ password
parse:
type: multi
lines: