View Single Post
Old 02-17-2025, 12:21 AM   #10368
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,204
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by watani View Post
For example, in this story most chapters have small pictures used as section separators:
https://www.fimfiction.net/story/550...puppy-season-7

These images do not appear to get cached, so they fail to get downloaded when getting the story from cache.

Complicating matters is that embedded external images get their URLs "camouflaged", but it should be possible to extract the original image URL from the actual URL since they seem to follow the same general structure:

Example:
https://camo.fimfiction.net/XyZqEwTY...%2FmzLp1ln.png

where the original image URL is: https://i.ibb.co/8xvNY6K/mzLp1ln.png
If you don't set use_browser_cache_only:true, the BC feature will attempt to go to network for anything it doesn't find in cache. OTOH, that implicitly turns off open_pages_in_browser.

The Flaresolverr proxy code has a separate option for directimage, but that's because Flaresolverr doesn't download images at all anymore. And it looks like it's getting 403 blocked on direct images, too. So a direct download with Browser Cache wouldn't work, either.

Our code for images from xenforoforums (SB/SV/QQ/etc) stories can use the <img> tags' data-src or data-url attr.

The story you linked has a similar looking data-source attr. But I need a bigger sample set of stories with images to look at before I can confidently make that change for fimf. Hint-hint.

Also looks like the cover image download is broken--will try to fix.
JimmXinu is offline   Reply With Quote