From 8b8dce8ba91069023cce6f2d654c7fd94763d659 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Fri, 19 Feb 2021 13:09:55 -0600 Subject: [PATCH] defaults.ini tweaks --- calibre-plugin/plugin-defaults.ini | 13 +++++++------ fanficfare/defaults.ini | 21 +++++++++++---------- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/calibre-plugin/plugin-defaults.ini b/calibre-plugin/plugin-defaults.ini index 0714e0f3..49a3d2f4 100644 --- a/calibre-plugin/plugin-defaults.ini +++ b/calibre-plugin/plugin-defaults.ini @@ -177,6 +177,8 @@ extratags: FanFiction ## number of seconds to sleep between calls to the story site. May be ## useful if pulling large numbers of stories or if the site is slow. +## The actual sleep time used on each request is a random number +## between 0.5 and 1.5 times slow_down_sleep_time. #slow_down_sleep_time:0.5 ## How long to wait for each HTTP connection to finish. Longer times @@ -626,8 +628,7 @@ use_basic_cache:true ## We've been requested by the site(s) admin to rein in hits. If you ## download fewer stories less often you can likely get by with -## reducing this sleep. There's also a hard-coded 2sec sleep in -## addition to whatever slow_down_sleep_time is. +## reducing this sleep. slow_down_sleep_time:6 ## sites are sensitive to too many hits. Users are sensitive to long @@ -2933,7 +2934,7 @@ skip_author_cover:true ## reducing this sleep. slow_down_sleep_time:12 -## ffnet is sensitive to too many hits. Users are sensitive to long +## sites are sensitive to too many hits. Users are sensitive to long ## waits during the initial metadata collection in the foreground. ## When used, these settings will speed up metadata downloads in the ## foreground linearly. @@ -3042,15 +3043,15 @@ extratags: ## for examples of how to use them. extra_valid_entries:reviews,favs,follows -## fanfiction.net shows the user's +## fictionpress.com shows the user's cover_exclusion_regexp:(/imageu/|d_60_90\.jpg) -## fanfiction.net is blocking people more aggressively. If you +## fictionpress.com is blocking people more aggressively. If you ## download fewer stories less often you can likely get by with ## reducing this sleep. slow_down_sleep_time:8 -## ffnet is sensitive to too many hits. Users are sensitive to long +## sites are sensitive to too many hits. Users are sensitive to long ## waits during the initial metadata collection in the foreground. ## When used, these settings will speed up metadata downloads in the ## foreground linearly. diff --git a/fanficfare/defaults.ini b/fanficfare/defaults.ini index 8289dc6f..40e262de 100644 --- a/fanficfare/defaults.ini +++ b/fanficfare/defaults.ini @@ -207,6 +207,8 @@ extratags: FanFiction ## number of seconds to sleep between calls to the story site. May be ## useful if pulling large numbers of stories or if the site is slow. +## The actual sleep time used on each request is a random number +## between 0.5 and 1.5 times slow_down_sleep_time. #slow_down_sleep_time:0.5 ## How long to wait for each HTTP connection to finish. Longer times @@ -224,7 +226,7 @@ connect_timeout:60.0 ## each metadata item passed to post_process_cmd before it's called. #post_process_safepattern:(^\.|/\.|[^a-zA-Z0-9_\. \[\]\(\)&'-]+) -## For use only with CLI version--run a command 3*before* the output +## For use only with CLI version--run a command *before* the output ## file is written. All of the titlepage_entries values are ## available, (but not output_filename). Can be used to generate ## cover images that are then included in the output ebook using @@ -653,8 +655,7 @@ use_basic_cache:true ## We've been requested by the site(s) admin to rein in hits. If you ## download fewer stories less often you can likely get by with -## reducing this sleep. There's also a hard-coded 2sec sleep in -## addition to whatever slow_down_sleep_time is. +## reducing this sleep. slow_down_sleep_time:6 ## exclude emoji and default avatars. @@ -1052,6 +1053,11 @@ output_css: ## include_images is *not* available in the web service in any format. #include_images:false +## If set, the first image found will be made the cover image. If +## keep_summary_html is true, any images in summary will be before any +## in chapters. +#make_firstimage_cover: false + ## When include_images:true, you can also specify a list of images to ## include in the EPUB or HTML, such as for use in customized CSS. ## Specified images will be included as "images/". So @@ -1065,11 +1071,6 @@ output_css: ## local copy. #additional_images:file:///C:/Users/user/Desktop/nook/background.jpeg,http://www.somesite.com/someimage.gif -## If set, the first image found will be made the cover image. If -## keep_summary_html is true, any images in summary will be before any -## in chapters. -#make_firstimage_cover: false - ## If set, the epub will never have a cover, even if include_images is ## on and the site has specific cover images. #never_make_cover: false @@ -3046,10 +3047,10 @@ extratags: ## for examples of how to use them. extra_valid_entries:reviews,favs,follows -## fanfiction.net shows the user's +## fictionpress.com shows the user's cover_exclusion_regexp:(/imageu/|d_60_90\.jpg) -## fanfiction.net is blocking people more aggressively. If you +## fictionpress.com is blocking people more aggressively. If you ## download fewer stories less often you can likely get by with ## reducing this sleep. slow_down_sleep_time:8