Commit graph

160 commits

Author SHA1 Message Date
Jim Miller
f207e31b3b Add standard metadata entry marked_new_chapters for epub updated '(new)' chapters count 2025-11-28 12:48:25 -06:00
Jim Miller
30929bc38e Better handling for no chapters found (#1283) 2025-11-24 12:24:44 -06:00
Rae Knowler
c51161c3d1 Include Accept:image/* header when requesting an image url 2025-06-07 12:50:12 -05:00
dbhmw
7123f7dd6f Reject HTML sites in no_convert_image 2025-04-03 10:00:32 -05:00
Nicolas SAPA
52027eac46 Silence a spammy debug
Silence a debug in addImgUrl that was spammy.

Signed-off-by: Nicolas SAPA <nico@ByMe.at>
2025-03-16 13:52:19 -05:00
Nicolas SAPA
a1d4fba728 Add support for 'directimages' with use_browser_cache
Hook the configurable into the direct_fetcher logic already existing for flaresolverr

Signed-off-by: Nicolas SAPA <nico@ByMe.at>
2025-03-16 13:52:19 -05:00
Jim Miller
a128083ce8 Add no_image_processing_regexp option for #1144 2025-01-13 09:37:40 -06:00
Jim Miller
29fddbce8e Fix for double replace_metadata when non-list metadata called by getList(). 2024-11-08 10:36:44 -06:00
dbhmw
eabfd1bef3
Skip invalid images, detect img types (#1068)
* Skip invalid images

* Exception handling

---------

Co-authored-by: dbhmw <github.spherical376@passmail.net>
2024-05-11 16:06:33 -05:00
Jim Miller
4453cbb143 Perform replace_chapter_text on chapter titles, too. 2024-03-24 13:26:10 -05:00
Jim Miller
45b4a8d8bf Add include_images:coveronly option for #1037 2024-02-06 10:21:14 -06:00
Jim Miller
c97c0e822d Suppress a debug output except when it matters. 2023-11-15 08:49:40 -06:00
Jim Miller
18b183585a Tweaks to use_flaresolverr_proxy:directimages 2023-10-19 12:06:32 -05:00
Jim Miller
c38f4ab400 Add use_flaresolverr_proxy:directimages experimental for #1007 2023-10-18 12:13:27 -05:00
Jim Miller
9e206d2215 Comment out some debugs. 2023-10-16 11:05:14 -05:00
Jim Miller
cd5fd2cab4 Pillow change for CLI, closes #1002 2023-10-07 09:23:04 -05:00
Jim Miller
33cd1642f8 Explicitly call set_image_allocation_limit() for larger image buffer and error on 0x0 image from image_and_format_from_data() 2023-09-05 10:29:34 -05:00
Jim Miller
043fb289bf Fix for extratags not being picked up by include_in_subjects 2023-08-17 23:12:06 -05:00
Jim Miller
784cb711d8 Update comments for include_subject_tags x_LIST 2023-07-23 16:29:30 -05:00
Jim Miller
54a00a934b Add _LIST option to include_subject_tags(/extra_subject_tags), refactor 2023-07-23 16:09:54 -05:00
Jim Miller
7502c0f2fb Apply mark_new_chapters to new story chapters in Anthologies. #977 2023-07-12 12:48:13 -05:00
Jim Miller
eaeeda6911 Allow mark_new_chapters when 1 chapter in case it changes. 2023-07-12 10:26:15 -05:00
Jim Miller
a1f29cb034 Fix for specific cover error. 2023-06-29 17:23:06 -05:00
Jim Miller
415cd6597e Fix for make_firstimage_cover causing embedded image to also use cover.jpg. 2023-06-26 19:33:47 -05:00
niacdoial
3ba2edef2d
improved config mechanism to include workskin 2023-06-18 18:43:31 +02:00
niacdoial
e5cc1cccf2
add ability to download AO3 workskin if scaping styles is enabled 2023-06-18 17:15:05 +02:00
Jim Miller
ff36bd30c5 Fix force_cover_image when already in story 2023-05-27 16:36:33 -05:00
Jim Miller
f6dafecfa1 Change force_img_referer to force_img_self_referer_regexp See #940 #941 2023-04-27 13:37:13 -05:00
Jim Miller
f3d373c8ca Change force_img_referer to force_img_referer See #940 #941 2023-04-27 09:06:54 -05:00
Jim Miller
9b1a64616b Add force_img_referer optional feature. Closes #940 2023-04-06 14:48:52 -05:00
Jim Miller
dd2a076b6f Add static include_in_* when double quoted. 2023-04-02 19:06:54 -05:00
Jim Miller
5e4f041509 Remove doubled doreplacements/removeallentities from author(etc)HTML processing. 2023-03-09 13:40:02 -06:00
Jim Miller
020d8d9e5b Update language->langcode mapping for updated AO3 list 2023-01-12 12:05:18 -06:00
Jim Miller
337086b90b Update metadata caching with dependency invalidating 2022-11-10 21:45:00 -06:00
Jim Miller
e1d5a68a90 Adding replace_chapter_text feature. 2022-11-06 14:15:17 -06:00
Jim Miller
3fffd22996 Fixes for add_category/genre_when_multi_category settings. #884 2022-09-20 10:46:40 -05:00
Jim Miller
8692665724 Update some comments. 2022-07-11 12:28:06 -05:00
Jim Miller
36eed1bc43 Refactor img code in story.py to fix a problem when cover image also in story. 2022-05-15 13:39:56 -05:00
Jim Miller
8aeb05a22d Detect and error on adjusted chapter list < 1. Closes #826 2022-04-12 09:36:24 -05:00
Jim Miller
a8047ba0a9 Fix for cover_min_size causing failures with SVG images when no_image_processing:true. 2021-11-19 20:21:44 -06:00
Jim Miller
011e52dbb9 Treat img url contains '.svg?' same as endswith('.svg')--Calibre image processing chokes hard on SVG. #709 2021-06-21 11:44:13 -05:00
Malloc Voidstar
6a12c4d52f
Use newer Calibre image processing, add JPG quality setting 2021-04-03 15:54:29 -07:00
Jim Miller
25427e17aa Check for 'failedtoload' *before* trying to fetch. 2021-03-13 12:23:30 -06:00
Jim Miller
670995ba3b Add additional_images setting for html & epub formats. Close #648 2021-02-15 17:09:02 -06:00
Jim Miller
66520e236c Remove unused imports fanficfare 2021-01-25 20:53:31 -06:00
Jim Miller
8e58e90e84 Refactor Requestable class from Configurable and move decode and zalgo there -- INI _filelist broken? 2021-01-24 15:55:21 -06:00
Jim Miller
fd46963301 Clear metadata cache after adapter metadata fetch. Cached metadata values may not be replace_metadata processed if fetched before their conditional dependencies. Revealed by AO3 one-shots using title for chapter name. 2021-01-17 13:46:56 -06:00
Jim Miller
6e68624f2a First rough version of reporting continue_on_chapter_error chapters. 2021-01-16 10:22:50 -06:00
Jim Miller
680bcc4280 Add a fake get_image_size() method for when no image processing available. Closes #621 2021-01-06 12:33:09 -06:00
Jim Miller
9a25c9d6f7 Warn, not crash on when cover_min_size fails. 2020-11-19 11:01:31 -06:00