autobrr/internal/indexer/definitions/skipthecommericals.yaml
martylukyy f26c33a961
fix(indexers): STC parse resolution (#1489)
* fix(indexers): add resolution var for STC
2024-04-05 06:58:20 +02:00

81 lines
2.2 KiB
YAML

---
#id: skipthecommericals
name: SkipTheCommericals
identifier: stc
description: SkipTheCommericals (STC) is a Private Torrent Tracker for TV
language: en-us
urls:
- https://skipthecommericals.xyz/
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: SkipTheCommericals
server: irc.skipthecommericals.xyz
port: 6697
tls: true
channels:
- "#announce"
announcers:
- STCBOT
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
parse:
type: single
lines:
- tests:
- line: Category [TV Show] Type [WEB-DL] Name [Some Show S35E11 1080p DSNP WEB-DL DD+ 5.1 H.264-GROUP] Resolution [1080p] Freeleech [0%] Double Upload [No] Size [709.11 MB] Uploader [Seeder] Url [https://skipthecommericals.xyz/torrent/download/00000]
expect:
category: TV Show
releaseTags: WEB-DL
resolution: 1080p
torrentName: Some Show S35E11 1080p DSNP WEB-DL DD+ 5.1 H.264-GROUP
freeleechPercent: 0%
tags: "No"
torrentSize: 709.11 MB
uploader: Seeder
baseUrl: https://skipthecommericals.xyz/
torrentId: "00000"
pattern: 'Category \[(.+)\] Type \[(.+)\] Name \[(.+?)\] Resolution \[(.+)\] Freeleech \[(.+)\] Double Upload \[(.+)\] Size \[(.+)\] Uploader \[(.+)\] Url \[(https?\:\/\/.+\/).+\/.+\/(\d+)\]'
vars:
- category
- releaseTags
- torrentName
- resolution
- freeleechPercent
- tags
- torrentSize
- uploader
- baseUrl
- torrentId
match:
infourl: "/torrents/{{ .torrentId }}"
torrenturl: "/torrent/download/{{ .torrentId }}.{{ .rsskey }}"