How itu-helper/data-updater works
Main Components
a) Data Collection Layer:
• Various scrapers as individual components:
• Lesson Scraper
• Course Scraper
• Course Plan Scraper
• Misc Scraper (Building and program codes)
• Driver Manager component that handles web automation
b) Automation Layer:
• GitHub Actions Workflows (show as a separate component)
• Different scheduling patterns:
• 15-minute intervals for lessons
• Weekly schedules for courses and course plans
• Daily misc updates
c) Data Storage Layer:
• GitHub Repository (itu-helper/data)
• Data organization structure
d) Integration Points:
• Connection to ITU websites (data source)
• Connection to itu-helper/sdk (data consumer)
Component Relationships
• Data flow from ITU websites to scrapers
• Workflow triggers between GitHub Actions and scrapers
• Data storage flow to the data repository
• Integration with the SDK
Technical Details
• Python-based scraping system
• GitHub Actions scheduling system
• Data update frequencies
• File naming conventions
[External Sources]
• ↓
[Automation Layer (GitHub Actions)] ←→ [Scheduling System]
• ↓
[Scraping Layer]
• Lesson Scraper
• Course Scraper
• Course Plan Scraper
• Misc Scraper
• ↓
[Driver Manager]
• ↓
[Data Storage]
• ↓
[Data Consumers]