mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 16:59:12 +00:00
feat(indexers): add ANT (#427)
* feat(indexers): add ANT * chore: update to current spec * fix: capture year
This commit is contained in:
parent
d8ca9ae082
commit
7dea04624b
1 changed files with 83 additions and 0 deletions
83
internal/indexer/definitions/ant.yaml
Normal file
83
internal/indexer/definitions/ant.yaml
Normal file
|
@ -0,0 +1,83 @@
|
||||||
|
---
|
||||||
|
#id: tracker007
|
||||||
|
name: Anthelion
|
||||||
|
identifier: anthelion
|
||||||
|
description: Anthelion (ANT) is a Private Torrent Tracker for MOVIES
|
||||||
|
language: en-us
|
||||||
|
urls:
|
||||||
|
- https://anthelion.me/
|
||||||
|
privacy: private
|
||||||
|
protocol: torrent
|
||||||
|
supports:
|
||||||
|
- irc
|
||||||
|
- 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: secret
|
||||||
|
required: true
|
||||||
|
label: Torrent pass
|
||||||
|
help: Right click DL on a torrent and get the torrent_pass.
|
||||||
|
|
||||||
|
irc:
|
||||||
|
network: Nebulance
|
||||||
|
server: irc.nebulance.cc
|
||||||
|
port: 6697
|
||||||
|
tls: true
|
||||||
|
channels:
|
||||||
|
- "#ant-announce"
|
||||||
|
announcers:
|
||||||
|
- Sauron
|
||||||
|
settings:
|
||||||
|
- name: nick
|
||||||
|
type: text
|
||||||
|
required: true
|
||||||
|
label: Nick
|
||||||
|
help: Bot nick. Eg. user|bot
|
||||||
|
|
||||||
|
- name: auth.account
|
||||||
|
type: text
|
||||||
|
required: false
|
||||||
|
label: NickServ Account
|
||||||
|
help: NickServ account. Make sure to group your user and bot.
|
||||||
|
|
||||||
|
- name: auth.password
|
||||||
|
type: secret
|
||||||
|
required: false
|
||||||
|
label: NickServ Password
|
||||||
|
help: NickServ password
|
||||||
|
|
||||||
|
- name: invite_command
|
||||||
|
type: secret
|
||||||
|
default: "Sauron bot #ant-announce USERNAME IRCKey"
|
||||||
|
required: true
|
||||||
|
label: Invite command
|
||||||
|
help: Invite auth with Muffit. Replace USERNAME and IRCKEY.
|
||||||
|
|
||||||
|
parse:
|
||||||
|
type: single
|
||||||
|
lines:
|
||||||
|
- test:
|
||||||
|
- "[Feature Film] Tremar (1897) [H264 / MKV / Blu-ray / 1080p / DTS / Subs / Freeleech!] [12.84 GiB - Uploader: user] https://anthelion.me/torrents.php?action=download&id=110 - action,horror,subtitles"
|
||||||
|
- "[Feature Film] Circus Du (1928) [H264 / MKV / Blu-ray / 1080p / AC3 / Scene / Freeleech!] [8.24 GiB - Uploader: anon] https://anthelion.me/torrents.php?action=download&id=85 - comedy,romance"
|
||||||
|
- "[Feature Film] Judo (1918) [H264 / MKV / Blu-ray / 1080p / DTS / Subs / Freeleech!] [7.40 GiB - Uploader: user1] https://anthelion.me/torrents.php?action=download&id=117 - crime,drama,thriller,action,subtitles"
|
||||||
|
pattern: '\[(.*?)\] (.*) \((.*)\) \[(.*)\] \[(.*) - Uploader: (.*)\] (https?\:\/\/.*\/).*id=(\d+).* - (.*)'
|
||||||
|
vars:
|
||||||
|
- category
|
||||||
|
- torrentName
|
||||||
|
- year
|
||||||
|
- releaseTags
|
||||||
|
- torrentSize
|
||||||
|
- uploader
|
||||||
|
- baseUrl
|
||||||
|
- torrentId
|
||||||
|
- tags
|
||||||
|
|
||||||
|
match:
|
||||||
|
torrenturl: "/torrents.php?action=download&id={{ .torrentId }}&authkey={{ .authkey }}&torrent_pass={{ .torrent_pass }}"
|
Loading…
Add table
Add a link
Reference in a new issue