Skip to main content
100%

Cowork: Extracción de Google Classroom a PDF — Master prompt + script JS + proceso completo

✓ Published0🌍 Public
IIoTeacher
Last edited May 29, 2026
Created on May 29, 2026

This example shows a complete workflow for extracting Google Classroom course content—including the announcement stream, activity lists, and level-0 instruction text—and compiling it into a PDF per course. The process relies on a master prompt for Claude’s Cowork mode and a JavaScript script run via Chrome MCP’s `javascript_tool`, which programmatically clicks activity menus, opens edit dialogs, and scrapes text from `textarea` and `contenteditable` elements. The script handles known blockers like cookie strings and CDP timeouts by cleaning URLs and batching results, then feeds the data into Python’s `reportlab` (Platypus) to generate formatted PDFs with custom paragraph styles.

AI-generated description

Similar vizzes