بنقرة واحدة
scrape-speakspeak
Scrape SpeakSpeak Moodle assignments into seed data
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Scrape SpeakSpeak Moodle assignments into seed data
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| 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 |
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