fix(indexers): FearNoPeer irc regex for music (#1598)

* fix(indexers): FearNoPeer irc pattern

* feat: add test case
This commit is contained in:
ze0s 2024-07-20 13:42:24 +02:00 committed by GitHub
parent a8590bfdc6
commit 6b3a4c5c63
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,7 +68,16 @@ irc:
uploader: oppie uploader: oppie
baseUrl: https://fearnopeer.com/ baseUrl: https://fearnopeer.com/
torrentId: "54321" 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: vars:
- category - category
- releaseTags - releaseTags