acestronautical
85da618cb2
Fix selectors for the Dungeon Keeper Ami example
2024-11-23 22:57:50 -06:00
David Lynch
7f91f1cc43
Some general readme updates
2024-11-23 22:44:34 -06:00
David Lynch
59923e0f63
Add note about alt="" behavior
2024-11-23 22:35:55 -06:00
David Lynch
6988fc8ccc
Add output mentioning when an image is cached
2024-11-23 22:34:46 -06:00
David Lynch
d49d7891c3
Fix some images not having srcset and sizes removed
2024-11-23 22:34:46 -06:00
David Lynch
746ec1b994
Fix image enabling by default
...
Follow-up to 6ecb1d8942
2024-11-23 22:10:19 -06:00
David Lynch
bf248bbfc8
Remove unused register import in xenforo.py
2024-11-23 21:48:46 -06:00
David Lynch
ef43295c25
AlternateHistory is on XenForo2 now
...
...this was the last site I had in old XenForo, so I will probably want
to clean that up soon.
2024-11-23 21:41:36 -06:00
David Lynch
0cac7ff945
New spoilers behavior: --spoilers [include/inline/skip]
...
Fixes #75
2024-11-23 21:39:54 -06:00
David Lynch
3f6fd401ad
Update the readme with the current python version requirement
2024-11-23 19:43:56 -06:00
David Lynch
a39e1e9f89
Use the newer syntax for attrs
2024-11-23 19:42:35 -06:00
David Lynch
d6d23e4c60
Bump dependency versions and required python version
2024-11-23 17:38:52 -06:00
David Lynch
4f15e0517f
Change how the build a cover test runs
2024-11-23 16:59:25 -06:00
David Lynch
3fbe181b12
In no-images case, replace with alt if present rather than decomposing
...
Putting a placeholder there for the altless, to avoid confusion.
2024-11-23 16:48:09 -06:00
David Lynch
740a41f4ef
Avoid refetching images that're repeated across chapters
2024-11-23 16:33:01 -06:00
David Lynch
6ecb1d8942
Make downloading images the default behavior
2024-11-23 16:33:01 -06:00
David Lynch
400c5cc801
Configurable whether to always convert images
2024-11-23 16:33:01 -06:00
David Lynch
b6310658e8
Command-line flag to enable/disable fetching images
2024-11-23 16:33:01 -06:00
David Lynch
e2bc6eba1c
Change order of config loading so site-specific overrides of cover/image work
2024-11-23 16:33:01 -06:00
David Lynch
4856649424
Be less verbose when downloading images
2024-11-23 16:33:01 -06:00
David Lynch
9510a22cb0
Remove arbitrary's special-case image loading, since the default works
2024-11-23 16:33:01 -06:00
David Lynch
21834bb5ed
_clean takes a base argument and reformats image srcs into absolute urls
2024-11-23 15:30:57 -06:00
David Lynch
a0a057c48c
_soup always returns a base URL
2024-11-23 15:15:29 -06:00
David Lynch
9508b00bcb
Rearrange the image options to match cover options
2024-11-23 14:54:12 -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
4e9ad1ed7e
feat: Leech can now download images in xenforo spoilers. The --include-spoilers tag has to be added for Leech to download images in spoilers.
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
162cc620cc
docs: minor sentence refactor
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
63ac765e41
fix(ebook/__init__.py): Leech will now ignore empty image tags (because apparently that's a thing).
...
feat(ebook/__init__.py): Leech print out more information about the images it is downloading. The number of images in each chapter and the image downloading currently.
2024-11-23 13:22:54 -06:00
Emmanuel Jemeni
b1f1c01210
build(.gitignore): modified the .gitignore file so it ignores PyCharm's .idea folder
2024-11-23 13:22:54 -06:00
Emmanuel Jemeni
dca26e95ea
feat(ebook/__init__.py): leech checks if an image has an alt attribute and adds one if it doesn't
2024-11-23 13:22:54 -06:00
Emmanuel Jemeni
f933020357
refactor(leech.py): minor spelling error fixed
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
Idan Dor
1edde92a9d
Fixed whitespacing for flake8.
2024-11-23 13:22:53 -06:00
Idan Dor
31f663c6e0
Added image embedding support for epub
...
Specifically, added image_selector for arbitrary sites that allows
selecting img tags from chapters, downloading them
and embedding them within the resulting epub.
In the case of Pale, this means that the character banners and
extra materials do not require an internet connection to view.
Also made the two pale.json's more consistent (pale.json now correctly
includes the title of the chapters).
2024-11-23 13:22:53 -06:00
IdanDor
7c877ad589
Added examples
2024-11-23 13:22:53 -06:00
David Lynch
59280e4fa7
Bump poetry.lock
2024-11-23 13:22:31 -06:00
David Lynch
7967c59636
Support 2fa for xenforo logins
2024-10-13 00:52:50 -05:00
David Lynch
249221f5d7
Fix questionable questing, which has moved to xenforo2
2024-05-14 22:08:22 -05:00
David Lynch
1f57cd6f07
Basic success-testing on logins
2024-05-14 22:07:05 -05:00
David Lynch
ef9309eb66
Fix xenforo login
2024-05-14 22:06:09 -05:00
David Lynch
7dc6543e44
Fix Wandering Inn
...
Fixes #95
2024-05-14 22:06:09 -05:00
David Lynch
cc423f62bb
Fix the royalroad stolen-content removal
...
They added speak:none to the CSS, and I was strictly checking for a rule
that only contained display:none.
2024-02-10 20:05:49 -06:00
David Lynch
64d77b62db
Improve cloudflare email decoding
...
New format for the protected emails, wrapping a span in an a.
2024-01-28 13:26:34 -06:00
David Lynch
d30e56a518
Strip out the new stolen-content warnings on royalroad
...
They might make these harder to work out in the future, but for now...
2024-01-19 21:34:39 -06:00
David Lynch
9171672663
Pillow 10 removed the deprecated ImageDraw.textsize
2023-11-15 01:18:06 -06:00