fix(filters): RED and OPS lossless parsing and filtering (#1373)

* fix(filters): RED and OPS lossless parsing and filtering

* fix(filters): logscore and EP parsing

* fix(filters): tests

* fix(filters): tests

* feat(definitions): RED parse title variable

* feat(indexers): setup indexer to filter tests

* feat(indexers): tests and improve parsing

* feat(indexers): improve tests
This commit is contained in:
ze0s 2024-01-28 22:03:25 +01:00 committed by GitHub
parent 9db5a8b116
commit 5328078b32
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 1093 additions and 360 deletions

View file

@ -80,6 +80,7 @@ irc:
- line: 'TORRENT: Dirty Dike Bogies & Alcohol [2008] [Album] CD/MP3/320 hip.hop,uk.hip.hop,united.kingdom https://orpheus.network/torrents.php?id=0000000 https://orpheus.network/torrents.php?id=0000000&torrentid=0000000&action=download'
expect:
torrentName: Dirty Dike Bogies & Alcohol [2008] [Album] CD/MP3/320
title: Dirty Dike Bogies & Alcohol
year: "2008"
category: Album
releaseTags: CD/MP3/320
@ -89,6 +90,7 @@ irc:
- line: 'TORRENT: Various Artists Bicycle Day: 85 Yrs of LSD Special [2023] [Compilation] WEB/FLAC/Lossless ambient,electronic https://orpheus.network/torrents.php?id=0000000 https://orpheus.network/torrents.php?id=0000000&torrentid=0000000&action=download'
expect:
torrentName: 'Various Artists Bicycle Day: 85 Yrs of LSD Special [2023] [Compilation] WEB/FLAC/Lossless'
title: 'Various Artists Bicycle Day: 85 Yrs of LSD Special'
year: "2023"
category: Compilation
releaseTags: WEB/FLAC/Lossless
@ -98,15 +100,17 @@ irc:
- line: 'TORRENT: Snoop Dogg Untitled [2001] [Sampler] Vinyl/MP3/320 https://orpheus.network/torrents.php?id=0000000 https://orpheus.network/torrents.php?id=0000000&torrentid=0000000&action=download'
expect:
torrentName: Snoop Dogg Untitled [2001] [Sampler] Vinyl/MP3/320
title: Snoop Dogg Untitled
year: "2001"
category: Sampler
releaseTags: Vinyl/MP3/320
tags: ""
baseUrl: https://orpheus.network/
torrentId: "0000000"
pattern: 'TORRENT: (.* . \[(.*?)\] \[(.*?)\] (.*)) . \s*(.*) . https?:\/\/.* . (https?:\/\/.*\/).*torrentid=(\d+).*'
pattern: 'TORRENT: ((.*) . \[(.*?)\] \[(.*?)\] (.*)) . \s*(.*) . https?:\/\/.* . (https?:\/\/.*\/).*torrentid=(\d+).*'
vars:
- torrentName
- title
- year
- category
- releaseTags