## Summary
- Adds `sites/bambulab` package that extracts firmware information from Bambu Lab's firmware download pages
- Parses the `__NEXT_DATA__` JSON blob embedded in the page for reliable extraction across all printer models
- Provides `GetLatestFirmware()` and `GetAllFirmware()` methods returning version, release date, release notes, download URL, and MD5 checksum
- Supports all printer models: X1, P1, A1, A1 mini, H2D, H2S, P2S, X1E, H2D Pro
Closes #45
**Parent:** #31
## Test plan
- [x] Unit tests with mock browser covering all extraction logic
- [x] Tests for GetLatestFirmware, GetAllFirmware, convenience functions
- [x] Error cases: unknown model, missing __NEXT_DATA__
- [x] Helper function tests (URL generation, date formatting)
- [x] Full test suite passes (`go test ./...`)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Extract firmware information from Bambu Lab's firmware download pages
by parsing the __NEXT_DATA__ JSON blob embedded in the page. Supports
all printer models (X1, P1, A1, A1 mini, H2D, H2S, P2S, X1E, H2D Pro).
Provides GetLatestFirmware() and GetAllFirmware() methods that return
version, release date, release notes, download URL, and MD5 checksum.
Closes#45
Co-Authored-By: Claude Opus 4.6 <[email protected]>
Claude
merged commit 4f8b6fb024 into main2026-02-15 20:23:53 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
sites/bambulabpackage that extracts firmware information from Bambu Lab's firmware download pages__NEXT_DATA__JSON blob embedded in the page for reliable extraction across all printer modelsGetLatestFirmware()andGetAllFirmware()methods returning version, release date, release notes, download URL, and MD5 checksumCloses #45
Parent: #31
Test plan
go test ./...)🤖 Generated with Claude Code