Commit Graph

12 Commits

Author SHA1 Message Date
6084386989 refactor(bilinovel): Migrate browser automation from Chromedp to Playwright
This commit replaces the `chromedp` library with `playwright-go` for browser automation within the Bilinovel downloader.

Changes include:
*   Updated `Bilinovel` struct to manage Playwright browser, context, and page instances.
*   Rewrote `initBrowser` and `Close` methods to use Playwright's API for browser lifecycle management.
*   Refactored `processContentWithChromedp` to `processContentWithPlaywright`, adapting the logic to use Playwright's page evaluation capabilities.
*   Removed unused `context` and `time` imports.
*   Added HTML cleanup in `getChapterByPage` to remove `class` attributes from images and `data-k` attributes from all elements, improving content consistency.
2025-10-06 07:58:31 +11:00
b8cd053b00 refactor: improve network event handling and cleanup of hidden elements in Bilinovel processing 2025-08-24 20:51:09 +10:00
560cdfdec9 refactor: streamline download process and enhance browser handling in Bilinovel 2025-08-24 19:04:00 +10:00
e9fbe5c5db refactor 2025-08-24 16:53:05 +10:00
75745b9431 fix: kavita 无法正确加载字体 2025-07-17 14:03:10 +08:00
ca3fdf8980 Update templ dependency to v0.3.906 and adjust XML declaration formatting in templates 2025-07-16 21:02:15 +08:00
c9a7853cef fix font error 2025-04-21 14:59:51 +10:00
b2130f60d5 fix missing images 2025-04-20 21:44:28 +10:00
d80c6053ab fix font error 2025-04-20 21:34:52 +10:00
9d1d3f0f17 fix font error 2025-04-20 02:13:59 +10:00
6028e7d8c2 add metadatas 2025-04-20 01:13:51 +10:00
9a098b205a start 2025-04-20 00:32:41 +10:00