1
0
Fork 0
mirror of https://github.com/kemayo/leech synced 2025-12-06 08:22:56 +01:00
Commit graph

11 commits

Author SHA1 Message Date
David Lynch
5bfd1b40a0 Give image downloading a timeout 2025-03-26 20:55:19 -05:00
David Lynch
5cb887f767 Move image processing into sites
The epub-builder still downloads the image, but all the html-mangling
is done in the extraction process now.

Turns footnotes into a chapter-object, for easier processing later on.
2025-03-22 19:39:16 -05:00
David Lynch
3fdbae5851 Pass through some more headers in the session 2024-12-17 16:34:57 -06:00
David Lynch
400c5cc801 Configurable whether to always convert images 2024-11-23 16:33:01 -06:00
David Lynch
542774543a Code style fixups, duplication cleanup, PIL textsize removal 2024-11-23 14:22:10 -06:00
Emmanuel C. Jemeni
f557a48ac4 Update image.py
Fiction.Live seems to have changed how they host images
2024-11-23 13:22:54 -06:00
Emmanuel Jemeni
34bf962df6 feat: Leech can now compress images to a specific target size 2024-11-23 13:22:54 -06:00
Emmanuel Jemeni
55e400b535 fix: Fixes bad transparency mask error 2024-11-23 13:22:54 -06:00
Emmanuel Jemeni
e6ad77a9fc fix: Completely fixes #2 ! 2024-11-23 13:22:54 -06:00
Emmanuel Jemeni
f6dc5a9ad9 Convert Filepicker.io image URLs to Fiction.live image URLs and warn of potential failure 2024-11-23 13:22:54 -06:00
Emmanuel Jemeni
71345b2658 fix(Partial-Fix-to-Issue-#2): Leech can now download images however there is no way of disabling this option and this was only tested with stories from fiction.live
BREAKING CHANGE:
2024-11-23 13:22:54 -06:00