Parsing and running
This commit is contained in:
13
main.ts
13
main.ts
@@ -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({
|
||||||
|
|||||||
Reference in New Issue
Block a user