mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 16:59:12 +00:00
feat(indexers): irc parse support ignoring lines (#641)
feat(indexers): irc support ignore line
This commit is contained in:
parent
e014528c97
commit
626fa6f156
3 changed files with 16 additions and 4 deletions
|
@ -63,6 +63,11 @@ irc:
|
|||
parse:
|
||||
type: multi
|
||||
lines:
|
||||
- test:
|
||||
- "New torrent uploaded!"
|
||||
pattern: '^New torrent uploaded!$'
|
||||
ignore: true
|
||||
|
||||
- test:
|
||||
- "Title: Dragons Forever | Year: 1988 | URL: https://pixelhd.me/torrents.php?torrentid=23001"
|
||||
pattern: 'Title: (.*) \| Year: (.*) \| URL: (https?:\/\/.*\/).+id=(.+)'
|
||||
|
@ -71,6 +76,7 @@ irc:
|
|||
- year
|
||||
- baseUrl
|
||||
- torrentId
|
||||
|
||||
- test:
|
||||
- "Uploader: Anon | Release Group: Px4K | Format: MP4 | Genre(s): action,comedy,romance"
|
||||
pattern: 'Uploader: (.*) \| Release Group: (.*) \| Format: (.*) \| Genre\(s\): (.*)'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue