autobrr/internal/indexer/definitions/aither.yaml

66 lines
1.9 KiB
YAML

---
#id: Aither
name: Aither
identifier: aither
description: Aither is a community-built Movie/TV/FANRES database.
language: en-us
urls:
- https://aither.cc/
privacy: private
protocol: torrent
supports:
- irc
- rss
source: UNIT3D
settings:
- name: rsskey
type: secret
required: true
label: RSS key (RID)
help: "Go to your profile tab, Settings > Security, copy RSS Key (RID)"
irc:
network: Aither.cc
server: irc.aither.cc
port: 6697
tls: true
channels:
- "#Feed"
announcers:
- BOT
settings:
- name: nick
type: text
required: true
label: Username
help: Profile > Settings > External Chat Tokens > Add Device Token.
- name: pass
type: secret
required: true
label: Token
help: Profile > Settings > External Chat Tokens > Token.
parse:
type: single
lines:
- test:
- "Category [Music] Type [Music - General] Name [Melanie Martinez - Copy Cat 2020 WEB FLAC 24-bits 44.1 kHz] Freeleech [0%] Internal [No] Double Upload [No] Size [44.06 MB] Uploader [Pure] Url [https://aither.cc/torrents/download/1231231]"
- "Category [Movie] Type [WEB-DL] Name [Izla 2021 FIL 1080p NF WEB-DL DD+ 5.1 H.264-HBO] Resolution [1080p] Freeleech [0%] Internal [No] Double Upload [No] Size [3.38 GB] Uploader [Anonymous] Url [https://aither.cc/torrents/download/213123123]"
pattern: 'Category \[(.+)\] Type \[(.+)\] Name \[(.+?)\] ?(?:Resolution \[(.*)\])? Freeleech \[(.+)\] Internal \[(.+)\] Double Upload \[(.+)\] Size \[(.+)\] Uploader \[(.+)\] Url \[(https?\:\/\/.+\/).+\/.+\/(\d+)\]'
vars:
- category
- releaseTags
- torrentName
- resolution
- freeleechPercent
- internal
- tags
- torrentSize
- uploader
- baseUrl
- torrentId
match:
infourl: "/torrents/{{ .torrentId }}"
torrenturl: "/torrent/download/{{ .torrentId }}.{{ .rsskey }}"