Skip to content

fix(foxaholic): resolve cover images as Data URIs and clean up cover extraction (v2.2.1) - #2661

Merged
rajarsheechatterjee merged 2 commits into
lnreader:masterfrom
7ui77:fix/foxaholic-covers
Oct 10, 2026
Merged

rajarsheechatterjee merged 2 commits into
lnreader:masterfrom
7ui77:fix/foxaholic-covers

Conversation

@7ui77

@7ui77 7ui77 commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Bypass Cloudflare 403 on novel cover images: Foxaholic (foxaholic.com) protects cover images with Cloudflare Managed Challenge. While novel details use OkHttp/WebView cookies, the Browse and Search screens rely on image loaders (Glide) without Cloudflare cookies and are blocked with HTTP 403 Forbidden.
  • Added resolveCoverDataUri option to Madara template to resolve novel covers in popularNovels and searchNovels as Base64 Data URIs using fetchApi (which shares WebView cookies).
  • Extracted and cleaned up repetitive cover extraction logic across parseNovels and parseNovel into a unified extractCover helper that handles lazy loading attributes (data-lazy-src, data-src, data-cfsrc, srcset, etc.) and discards placeholder images (dflazy.jpg).
  • Bumped Foxaholic version code to 2.2.1.

Checklist

  • Update version code if an existing plugin was modified
  • Test changes in Plugin Playground or the app
  • Reference related issues in the PR body (e.g. Closes #)
  • Commit messages follow type(scope): description (e.g. feat(<generator>): add new source)

Results

  • Link repo
https://raw.githubusercontent.com/7ui77/lnreader-plugins/refs/heads/plugins/v3.0.0/.dist/plugins.min.json
  • Before
    Screenshot_2026-10-09-22-48-32-052_com.rajarsheechatterjee.LNReader.jpg

  • After
    Screenshot_2026-10-10-08-35-59-053_com.rajarsheechatterjee.LNReader.jpg

@greptile-apps

greptile-apps Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

RetriggerConfidence Score: 3/5

[Medium impact] Adds cover image data URI resolution to a manga plugin.

Fix the cover timeout and shared version updates before merging.

Findings

  1. P1 One cover blocks the list ▶
  2. P1 Shared cover changes stay unreleased ▶
  3. P2 A placeholder hides the cover ▶

Summary

Adds optional cover downloads as Data URIs for Foxaholic and shares cover extraction across Madara sources.

  • Foxaholic lists now return cover images as Data URIs.
  • Novel cards and detail pages now choose covers the same way.

Reviews (1) · Last reviewed commit: "fix(foxaholic): resolve covers as Data U..." · Reviewed by Greptile

Comment thread plugins/multisrc/madara/template.ts Outdated
Comment thread plugins/multisrc/madara/template.ts
Comment thread plugins/multisrc/madara/template.ts Outdated
@rajarsheechatterjee
rajarsheechatterjee merged commit a06ba1a into lnreader:master Oct 10, 2026
3 checks passed
@7ui77
7ui77 deleted the fix/foxaholic-covers branch October 10, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants