Commit graph

8 commits

Author SHA1 Message Date
248c42d609
fix: improve hltb plugin seek token extraction and search reliability
Some checks failed
ci/woodpecker/push/ci Pipeline failed
ci/woodpecker/tag/release Pipeline was successful
The HowLongToBeat plugin was returning the same results for all searches
due to invalid seek token extraction. This update implements a robust
multi-tier token extraction system:

- Extract buildId from Next.js page data and search build files
- Test known working tokens before using them
- Add fallback token generation based on timestamp
- Remove non-working /api/search endpoint fallback
- Improve error handling and token validation
- Add comprehensive seek token testing functionality

The plugin now properly returns different results for different search
queries instead of always returning "Expedition 33" results.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-15 19:46:39 +02:00
5bec3b6a7c
fix: update hltb plugin to work with new website structure
Some checks failed
ci/woodpecker/push/ci Pipeline failed
ci/woodpecker/tag/release Pipeline was successful
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
0edf41c792
fix: markdown parse mode breaking some plugins
Some checks failed
ci/woodpecker/push/ci Pipeline failed
ci/woodpecker/tag/release Pipeline was successful
2025-06-23 11:32:34 +02:00
bd9854676d
feat: added help command 2025-06-13 12:04:07 +02:00
d09b763aa7
feat: hltb plugin
Some checks failed
ci/woodpecker/push/ci Pipeline failed
2025-06-12 14:51:12 +02:00
7dd02c0056
feat: domain blocker plugin
Some checks failed
ci/woodpecker/tag/release Pipeline was successful
ci/woodpecker/push/ci Pipeline failed
2025-04-22 18:09:27 +02:00
763a451251
fix: lint errors 2025-04-22 11:56:33 +02:00
7c684af8c3
refactor: python -> go
All checks were successful
ci/woodpecker/tag/release Pipeline was successful
2025-04-20 14:13:44 +02:00