autobrr/internal/indexer/definitions/animebytes.yaml
KaiserBh 8ff8e6bbb0
feat(indexers): add animebytes (#87)
* feat: Added support for AB indexer.

* docs: Changed readme to inlcude all the supported trackers.

* feat: improve releasetags parsing and regex
2022-01-16 15:28:01 +01:00

66 lines
2.2 KiB
YAML

---
#id: animebytes
name: AnimeBytes
identifier: animebytes
description: AnimeBytes (AB) is a private torrent tracker for Anime, Manga, J-Music, OSTS, Hentai, Games and Light Novel.
language: en-us
urls:
- https://animebytes.tv/
privacy: private
protocol: torrent
supports:
- irc
- rss
source: gazelle
settings:
- name: passkey
type: secret
label: PassKey
help: Settings -> Account -> Passkey.
irc:
network: AnimeBytes-IRC
server: irc.animebytes.tv
port: 7000
tls: true
channels:
- "#announce"
announcers:
- Satsuki
settings:
- name: nickserv.account
type: text
required: true
label: NickServ Account
help: NickServ account. Make sure to group your user and bot. Eg. user|autodl
- name: nickserv.password
type: secret
required: false
label: NickServ Password
help: NickServ password
- name: invite_command
type: secret
default: "/msg Satsuki enter #announce {AB username} ircKey"
required: true
label: Invite command
help: Invite auth with Satsuki, animebytes.tv/irc
parse:
type: single
lines:
- test:
- "Other Show! 3rd Season - TV Series [2020] :: Blu-ray / MKV / h265 10-bit / 1080p / FLAC 5.0 / RAW (LoliHouse) / Freeleech || https://animebytes.tv/torrents.php?id=000000&torrentid=00000000 || music || Uploaded by: Anonymous"
- "Show 1 - TV Series [2004] :: DVD / MKV / h264 10-bit / 712x478 / FLAC 2.0 / Dual Audio / Softsubs (WSE) || https://animebytes.tv/torrents.php?id=0000&torrentid=000000 || coming.of.age, romance, seinen, slice.of.life, tragedy || Uploaded by: Uploader"
- "Artist - Album! Original Sound Track [2011] :: MP3 / V0 (VBR) / CD || https://animebytes.tv/torrents2.php?id=000000&torrentid=0000000 || soundtrack || Uploaded by: Test-Uploader"
pattern: '(.*) \[(\d+)\] :: (.*) \|\| (https.*)\/torrents.*\?id=\d+&torrentid=(\d+) \|\| (.+?(?:(?:\|\| Uploaded by|$))?)(?:\|\| Uploaded by: (.*))?$'
vars:
- torrentName
- year
- releaseTags
- baseUrl
- torrentId
- tags
- uploader
match:
torrenturl: "{{ .baseUrl }}/torrent/{{ .torrentId }}/download/{{ .passkey }}"