mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
108 lines
3.2 KiB
YAML
108 lines
3.2 KiB
YAML
---
|
|
#id: TheOldSchool
|
|
name: TheOldSchool
|
|
identifier: theoldschool
|
|
description: TheOldSchool (TOS) is a general french tracker.
|
|
language: fr-FR
|
|
urls:
|
|
- https://theoldschool.cc/
|
|
privacy: private
|
|
protocol: torrent
|
|
supports:
|
|
- irc
|
|
- rss
|
|
# source: UNIT3D
|
|
settings:
|
|
- name: rsskey
|
|
type: secret
|
|
required: true
|
|
label: RSS key
|
|
help: "Click on your nick / Go to Settings / Security / Copy the RID (RSS Key) and paste it here."
|
|
|
|
irc:
|
|
network: TheOldSchool
|
|
server: irc.theoldschool.cc
|
|
port: 1337
|
|
tls: true
|
|
channels:
|
|
- "#Announce"
|
|
announcers:
|
|
- _TOS_
|
|
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
|
|
|
|
- name: invite_command
|
|
type: secret
|
|
default: "OldSchool invite USERNAME PID"
|
|
required: true
|
|
label: Invite command
|
|
help: Invite auth with OldSchool. Replace USERNAME and PID (passkey).
|
|
|
|
parse:
|
|
type: single
|
|
lines:
|
|
- tests:
|
|
- line: '[NEW] [Series] [This.Is.A.New.show.S00E00.720p.WEB.H264-Test] [WEB-DL] [487.27 MiB] [0%] [pre 0h 1m 52s] par oldschool -> https://theoldschool.cc/torrents/00000'
|
|
expect:
|
|
category: Series
|
|
torrentName: This.Is.A.New.show.S00E00.720p.WEB.H264-Test
|
|
source: WEB-DL
|
|
torrentSize: 487.27 MiB
|
|
freeleechPercent: "0"
|
|
preTime: 0h 1m 52s
|
|
uploader: oldschool
|
|
baseUrl: https://theoldschool.cc/
|
|
torrentId: "00000"
|
|
- line: '[NEW] [Series] [This.Is.A.New.show.S00E00.720p.WEB.H264-Test] [WEB-DL] [487.27 MiB] [0%] par oldschool -> https://theoldschool.cc/torrents/00000'
|
|
expect:
|
|
category: Series
|
|
torrentName: This.Is.A.New.show.S00E00.720p.WEB.H264-Test
|
|
source: WEB-DL
|
|
torrentSize: 487.27 MiB
|
|
freeleechPercent: "0"
|
|
preTime: ""
|
|
uploader: oldschool
|
|
baseUrl: https://theoldschool.cc/
|
|
torrentId: "00000"
|
|
- line: ' [EXCLUSiVE] [Series] [A.Show.S07.MULTi.1080p.WEB.H264-GROUP] [WEB] [71.16 GiB] [0%] [pre 23h 15m 54s] par xxx -> https://theoldschool.cc/torrents/00000'
|
|
expect:
|
|
category: Series
|
|
torrentName: A.Show.S07.MULTi.1080p.WEB.H264-GROUP
|
|
source: WEB
|
|
torrentSize: 71.16 GiB
|
|
freeleechPercent: "0"
|
|
preTime: 23h 15m 54s
|
|
uploader: xxx
|
|
baseUrl: https://theoldschool.cc/
|
|
torrentId: "00000"
|
|
pattern: '\[.*\] \[(.*)\] \[(.*)\] \[(.*)\] \[(.*)\] \[(.*)%\](?:\s\[pre (.*)\])? par (.*) -> (https?\:\/\/.+\/).+\/(\d+)'
|
|
vars:
|
|
- category
|
|
- torrentName
|
|
- source
|
|
- torrentSize
|
|
- freeleechPercent
|
|
- preTime
|
|
- uploader
|
|
- baseUrl
|
|
- torrentId
|
|
|
|
match:
|
|
infourl: "/torrents/{{ .torrentId }}"
|
|
torrenturl: "/torrent/download/{{ .torrentId }}.{{ .rsskey }}"
|