diff --git a/internal/indexer/definitions/aither.yaml b/internal/indexer/definitions/aither.yaml new file mode 100644 index 0000000..3e8bf7a --- /dev/null +++ b/internal/indexer/definitions/aither.yaml @@ -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 }}"