fix(indexers): red grab torrent id (#413)

This commit is contained in:
Kyle Sanderson 2022-08-19 04:12:55 -07:00 committed by GitHub
parent 3a334121f7
commit b607aef63e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,14 +72,14 @@ parse:
- test:
- "Artist - Albumname [2008] [Single] - FLAC / Lossless / Log / 100% / Cue / CD - https://redacted.ch/torrents.php?id=0000000 / https://redacted.ch/torrents.php?action=download&id=0000000 - hip.hop,rhythm.and.blues,2000s"
- "A really long name here - Concertos 5 and 6, Suite No 2 [1991] [Album] - FLAC / Lossless / Log / 100% / Cue / CD - https://redacted.ch/torrents.php?id=0000000 / https://redacted.ch/torrents.php?action=download&id=0000000 - classical"
pattern: '(.*) (?:\[(.*)\] \[(.*)\] - (.*))? -\s+https?:.*[&\?]id=(\d+) \/ (https?\:\/\/.*)\s* -\s*(.*)'
pattern: '(.*) (?:\[(.*)\] \[(.*)\] - (.*))? .* \/ (https?\:\/\/.*id=(\d+))\s* -\s*(.*)'
vars:
- torrentName
- year
- category
- releaseTags
- torrentId
- baseUrl
- torrentId
- tags
match: