com um clique
scrape-speakspeak
Scrape SpeakSpeak Moodle assignments into seed data
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Scrape SpeakSpeak Moodle assignments into seed data
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Manage the project backlog — add, list, filter, update, prioritize, and suggest work items
Daily session wrapper — start with backlog, work, commit, retro
End-of-session retrospective — summarize work, update backlog statuses, update MEMORY.md
Commit, branch, PR, self-review, fix — then stop for human approval before merge
Pre-flight for parallel work — pick items, check file overlap, set statuses, generate terminal commands
Manage project backlog — add, list, filter, update, prioritize, suggest
| name | scrape-speakspeak |
| description | Scrape SpeakSpeak Moodle assignments into seed data |
| user-invocable | true |
Scrape Danish language assignments from the user's personal SpeakSpeak Moodle account (mit.speakspeak.dk) and convert them into DanskPrep seed data.
Use when the user wants to:
cd scripts
uv sync
uv run playwright install chromium
Auth: Microsoft SSO only — no username/password env vars needed. Use --interactive for first run.
# First run — interactive login, saves cookies
uv run python scrape-speakspeak.py --exam PD3M2 --interactive --save-cookies cookies.json
# Subsequent runs — use saved cookies
uv run python scrape-speakspeak.py --exam PD3M2 --cookies cookies.json
# Visible browser (for debugging)
uv run python scrape-speakspeak.py --exam PD3M2 --visible --cookies cookies.json
mit.speakspeak.dk with the provided credentials.que element structure"REVIEW" — fix items where the correct answer could not be auto-detectedcd scripts && uv run python seed-database.py| Problem | Fix |
|---|---|
| "No courses found" | Run with --visible and check what courses appear on the Moodle dashboard |
| "Login failed" | Verify credentials; try logging in manually first |
| 0 exercises scraped | Course may use H5P embeds — visible browser will show them |
| Questions missing correct answers | Complete the assignment first — SpeakSpeak may hide answers until after submission |