diff --git a/internal/indexer/definitions/brokenstones.yaml b/internal/indexer/definitions/brokenstones.yaml index 77b6912..f7d5708 100644 --- a/internal/indexer/definitions/brokenstones.yaml +++ b/internal/indexer/definitions/brokenstones.yaml @@ -13,8 +13,14 @@ supports: - rss # source: gazelle settings: + - name: authkey + type: secret + required: true + label: Auth key + help: Right click DL on a torrent and get the authkey. + - name: torrent_pass - type: text + type: secret required: true label: Torrent pass help: Right click DL on a torrent and get the torrent_pass. @@ -67,7 +73,7 @@ irc: baseUrl: https://brokenstones.is/ groupId: "777" torrentId: "666" - pattern: 'TORRENT: (.*?) - (.*?) - (.*?) - (.*?) - (https:\/\/brokenstones\.is\/)torrents.php\?id=(\d+) \/ https:\/\/brokenstones.is\/torrents.php\?action=download&id=(\d+)' + pattern: 'TORRENT: (.*\]) - (.*?) - (.*?) - (.*?) - (https:\/\/brokenstones\.is\/)torrents.php\?id=(\d+) \/ https:\/\/brokenstones.is\/torrents.php\?action=download&id=(\d+)' vars: - torrentName - torrentSize @@ -79,4 +85,4 @@ irc: match: infourl: "/torrents.php?id={{ .groupId }}" - torrenturl: "/torrents.php?action=download&id={{ .torrentId }}&torrent_pass={{ .torrent_pass }}" + torrenturl: "/torrents.php?action=download&id={{ .torrentId }}&authkey={{ .authkey }}&torrent_pass={{ .torrent_pass }}"