butterrobot/internal/plugin/fun
Felipe M. 5bec3b6a7c
Some checks failed
ci/woodpecker/push/ci Pipeline failed
ci/woodpecker/tag/release Pipeline was successful
fix: update hltb plugin to work with new website structure
The HowLongToBeat website has changed from API-based search to server-side
rendering with Next.js. This update fixes the plugin to work with the new format:

- Switch from POST API requests to GET requests with query parameters
- Replace JSON API parsing with HTML content parsing
- Add support for parsing Next.js __NEXT_DATA__ embedded JSON
- Add fallback regex-based HTML parsing for game cards
- Extract completion times, game names, IDs, and cover images from HTML
- Support half-hour notation (e.g., "31½ Hours") in time parsing
- Remove obsolete seek token functionality
- Simplify data structures to match new response format

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-15 18:55:18 +02:00
..
coin.go feat: hltb plugin 2025-06-12 14:51:12 +02:00
dice.go feat: hltb plugin 2025-06-12 14:51:12 +02:00
hltb.go fix: update hltb plugin to work with new website structure 2025-07-15 18:55:18 +02:00
hltb_test.go feat: hltb plugin 2025-06-12 14:51:12 +02:00
loquito.go feat: added help command 2025-06-13 12:04:07 +02:00