mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 16:59:12 +00:00
fix(indexers): redacted infourl (#701)
This commit is contained in:
parent
fe5e15a333
commit
1bbd3d9155
1 changed files with 3 additions and 2 deletions
|
@ -85,16 +85,17 @@ irc:
|
|||
- 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: '(.* (?:\[(.*)\] \[(.*)\] - (.*))?) - .* \/ (https?\:\/\/.+\/).+id=(\d+)[ -]*(.*)'
|
||||
pattern: '(.* (?:\[(.*)\] \[(.*)\] - (.*))?) - .*id=(.*) \/ (https?://.+/).+id=(\d+)[ -]*(.*)'
|
||||
vars:
|
||||
- torrentName
|
||||
- year
|
||||
- category
|
||||
- releaseTags
|
||||
- groupId
|
||||
- baseUrl
|
||||
- torrentId
|
||||
- tags
|
||||
|
||||
match:
|
||||
infourl: "/torrents.php?torrentid={{ .torrentId }}"
|
||||
infourl: "/torrents.php?id={{ .groupId }}&torrentid={{ .torrentId }}"
|
||||
torrenturl: "/torrents.php?action=download&id={{ .torrentId }}&authkey={{ .authkey }}&torrent_pass={{ .torrent_pass }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue