mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 16:59:12 +00:00
feat(indexers): add Aither (#588)
* feat(indexers): add Aither * Changed freeleech variable Changed from freeleech to freeleechPercent * Added resolution and internal variables to aither * Fixed Aither regex pattern - Thank you @nuxencs for assisting with the regex pattern * fix: second test case missing end bracket
This commit is contained in:
parent
03118d02d8
commit
d8ca9ae082
1 changed files with 66 additions and 0 deletions
66
internal/indexer/definitions/aither.yaml
Normal file
66
internal/indexer/definitions/aither.yaml
Normal file
|
@ -0,0 +1,66 @@
|
||||||
|
---
|
||||||
|
#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: false
|
||||||
|
label: Username
|
||||||
|
help: Profile > Settings > External Chat Tokens > Add Device Token.
|
||||||
|
|
||||||
|
- name: auth.password
|
||||||
|
type: secret
|
||||||
|
required: false
|
||||||
|
label: NickServ Password
|
||||||
|
help: NickServ password
|
||||||
|
|
||||||
|
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:
|
||||||
|
torrenturl: "/torrent/download/{{ .torrentId }}.{{ .rsskey }}"
|
Loading…
Add table
Add a link
Reference in a new issue