butterrobot/internal/plugin
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
..
domainblock feat: hltb plugin 2025-06-12 14:51:12 +02:00
fun fix: update hltb plugin to work with new website structure 2025-07-15 18:55:18 +02:00
help fix: markdown parse mode breaking some plugins 2025-06-23 11:32:34 +02:00
ping feat: hltb plugin 2025-06-12 14:51:12 +02:00
reminder feat: hltb plugin 2025-06-12 14:51:12 +02:00
searchreplace feat: added help command 2025-06-13 12:04:07 +02:00
social fix: default parse mode to text 2025-06-24 08:10:56 +02:00
plugin.go feat: allow enabling all plugins into a channel 2025-06-23 11:10:43 +02:00
plugin_test.go chore: make format 2025-06-23 11:19:22 +02:00