mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 16:59:12 +00:00
fix(indexers): btn api client (#71)
What: * Api key and torrentId in wrong order * Set hardcoded ID in jsonrpc request object * ParsetorrentId from url Fixes #68
This commit is contained in:
parent
e03eac24ba
commit
dcd1d458cf
3 changed files with 4 additions and 2 deletions
|
@ -85,9 +85,10 @@ parse:
|
|||
- preTime
|
||||
- test:
|
||||
- "[ https://XXXXXXXXX/torrents.php?id=7338 / https://XXXXXXXXX/torrents.php?action=download&id=9116 ]"
|
||||
pattern: ^\[ .* \/ (https?:\/\/.*id=\d+) \]
|
||||
pattern: ^\[ .* \/ (https?:\/\/.*id=(\d+)) \]
|
||||
vars:
|
||||
- baseUrl
|
||||
- torrentId
|
||||
|
||||
match:
|
||||
torrenturl: "{{ .baseUrl }}&authkey={{ .authkey }}&torrent_pass={{ .torrent_pass }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue