Parsing and running

This commit is contained in:
Lukas Wölfer
2025-05-05 16:37:54 +02:00
parent 64979dfd18
commit 81ae6c81b4
2 changed files with 34 additions and 20 deletions

13
main.ts
View File

@@ -23,6 +23,19 @@ async function getWorkshopVideos(bot: Mwn): Promise<string[]> {
console.dir(await bot.parseTitle(files[0])) console.dir(await bot.parseTitle(files[0]))
} }
interface VideoDescription {
teachers: string[]
location: string
level: string
date: string
patterns: string
notes: string
}
function parseSummary(description: string): VideoDescription {
}
async function main() { async function main() {
const bot = new Mwn({ const bot = new Mwn({

1
run.sh Normal file
View File

@@ -0,0 +1 @@
deno run --env-file=.env --deny-read --allow-net=dancing.thasky.one:443 -E main.ts