mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
fix(indexers): FearNoPeer irc regex for music (#1598)
* fix(indexers): FearNoPeer irc pattern * feat: add test case
This commit is contained in:
parent
a8590bfdc6
commit
6b3a4c5c63
1 changed files with 10 additions and 1 deletions
|
@ -68,7 +68,16 @@ irc:
|
|||
uploader: oppie
|
||||
baseUrl: https://fearnopeer.com/
|
||||
torrentId: "54321"
|
||||
pattern: '.*\[(.*)\].*\[(.*)\].*\[(.*)\].*\[(.*)\].*\[(.*)\].*\[(https?\:\/\/.*?\/).*\/(\d+)\]'
|
||||
- line: "[FnP] New Upload - Category: [Music] Type: [FLAC] Name: [Live at FnP - Brr 2023 {bootleg} - [FLAC 16bit 44 1kHz]-[daniflix]] Size: [352.91 MiB] Uploader: [uploader] Url: [https://fearnopeer.com/torrents/155493]"
|
||||
expect:
|
||||
category: Music
|
||||
releaseTags: FLAC
|
||||
torrentName: Live at FnP - Brr 2023 {bootleg} - [FLAC 16bit 44 1kHz]-[daniflix]
|
||||
torrentSize: 352.91 MiB
|
||||
uploader: uploader
|
||||
baseUrl: https://fearnopeer.com/
|
||||
torrentId: "155493"
|
||||
pattern: '\[FnP\] New Upload - Category: \[(.*)\] Type: \[(.*)\] Name: \[(.*)\] Size: \[(.*)\] Uploader: \[(.*)\] Url: \[(https?\:\/\/.*?\/).*\/(\d+)\]'
|
||||
vars:
|
||||
- category
|
||||
- releaseTags
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue