From 1eefbff774f5e3b7e3d60e52bea60ccdc817a3f3 Mon Sep 17 00:00:00 2001 From: samerbam Date: Mon, 12 Jun 2023 15:39:08 -0400 Subject: [PATCH] updated default configs --- root/config.default/defaults.ini | 2 +- root/config.default/personal.ini | 103 +++---------------------------- 2 files changed, 10 insertions(+), 95 deletions(-) diff --git a/root/config.default/defaults.ini b/root/config.default/defaults.ini index 1328827..f37c59c 100644 --- a/root/config.default/defaults.ini +++ b/root/config.default/defaults.ini @@ -1515,7 +1515,7 @@ use_basic_cache:true ## Some sites also require the user to confirm they are adult for ## adult content. In commandline version, this should go in your ## personal.ini, not defaults.ini. -#is_adult:true +is_adult:true ## AO3 offers a page to download the entire work at once. This can ## save a lot of network traffic if there are many chapters. diff --git a/root/config.default/personal.ini b/root/config.default/personal.ini index 08c773e..a272e82 100644 --- a/root/config.default/personal.ini +++ b/root/config.default/personal.ini @@ -2,26 +2,10 @@ ## like. Uncomment options by removing the '#' in front of them. [defaults] -## [defaults] section applies to all formats and sites but may be -## overridden at several levels. Example: - -## [defaults] -## titlepage_entries: category,genre, status -## [www.whofic.com] -## # overrides defaults. -## titlepage_entries: category,genre, status,dateUpdated,rating -## [epub] -## # overrides defaults & site section -## titlepage_entries: category,genre, status,datePublished,dateUpdated,dateCreated -## [www.whofic.com:epub] -## # overrides defaults, site section & format section -## titlepage_entries: category,genre, status,datePublished -## [overrides] -## # overrides all other sections -## titlepage_entries: category - ## Some sites also require the user to confirm they are adult for -## adult content. Uncomment by removing '#' in front of is_adult. +## adult content. Uncomment by removing '#' in front of is_adult. In +## commandline version, this should go in your personal.ini, not +## defaults.ini. is_adult:true ## Don't like the numbers at the start of chapter titles on some @@ -33,16 +17,17 @@ is_adult:true #strip_chapter_numbers:true #add_chapter_numbers:true -## Add this to genre if there's more than one category. -#add_genre_when_multi_category: Crossover - [epub] ## include images from img tags in the body and summary of stories. ## Images will be converted to jpg for size if possible. Images work ## in epub format only. To get mobi or other format with images, -## download as epub and use Calibre to convert. +## download as epub and use Calibre to convert. true by default in plugin. include_images:true +## Quality level to use when converting images to jpg. Range is 0-100, +## reasonable values likely to be in the range 70-95. +#jpg_quality: 95 + ## If not set, the summary will have all html stripped for safety. ## Both this and include_images must be true to get images in the ## summary. @@ -62,79 +47,9 @@ make_firstimage_cover:true #grayscale_images: false -## Most common, I expect will be using this to save username/passwords -## for different sites. Here are a few examples. See defaults.ini -## for the full list. - -[www.twilighted.net] -#username:YourPenname -#password:YourPassword -## default is false -#collect_series: true - -[ficwad.com] -#username:YourUsername -#password:YourPassword - -[www.adastrafanfic.com] -## Some sites do not require a login, but do require the user to -## confirm they are adult for adult content. -#is_adult:true - -[www.fictionalley.org] -#is_adult:true - -[www.harrypotterfanfiction.com] -#is_adult:true - -[www.fimfiction.net] -#is_adult:true -#fail_on_password: false - -[www.tthfanfic.org] -#is_adult:true -## tth is a little unusual--it doesn't require user/pass, but the site -## keeps track of which chapters you've read and won't send another -## update until it thinks you're up to date. This way, on download, -## it thinks you're up to date. -#username:YourName -#password:yourpassword - -[www.fanfiction.net] -check_next_chapter:true -skip_author_cover:false -user_agent:Mozilla/5.0 -continue_on_chapter_error:false -# for use with the workaround -#use_nsapa_proxy:true -#use_cloudscraper:false -use_flaresolverr_proxy:true -# option settings, these are the defaults: -flaresolverr_proxy_address:localhost -flaresolverr_proxy_port:8191 -flaresolverr_proxy_protocol:http - -## This option if uncommented, will put a box around the spoiler -## blocks with the original spoiler button text as a label using -## fieldset and legend HTML tags. For a simple box, see the -## add_to_output_css example for [base_xenforoforum:epub]. -#legend_spoilers:true - - ## This section will override anything in the system defaults or other ## sections here. [overrides] ## default varies by site. Set true here to force all sites to ## collect series. -#collect_series: true - -# Change oneshot to ['Completed'] to ['Completed','Oneshot'] only when -# numChapters is exactly 1. -# with ',' instead of '\,' it would be ['Completed'] to -# ['Completed,Oneshot']--one string instead of two. -add_to_replace_metadata: - oneshot=>Completed=>Completed\,Oneshot&&numChapters=>^1$ - - - - +#collect_series: true \ No newline at end of file