View Single Post
Old 06-06-2021, 11:37 AM   #5985
linuxstony
Junior Member
linuxstony began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2021
Device: calibre
Hi,

I am sorry to bother you, but i try to setup the browser-cache feature for my wife because of a cloudflare 2 error, but apparantly my times with linux are so way back, that i am too stupid to setup the browser-cache-path correctly.

I have the following set in the personal.ini

Spoiler:
## This is an example of what your personal configuration might look
## 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:
#browser_cache_path:'/home/kathrin/.cache/mozilla/firefox/cxmz1llt.default/cache2'
#browser_cache_path:/home/kathrin/.cache/mozilla/firefox/cxmz1llt.default/cache2
browser_cache_path:/home/kathrin/.cache/mozilla/firefox/cxmz1llt.default/cache2

[www.fanfiction.net]
use_browser_cache:true
browser_cache_path:/home/kathrin/.cache/mozilla/firefox/cxmz1llt.default/cache2
## browser cache will only be used if use_browser_cache:true and ONLY
## for fanfiction.net right now. Requires a browser_cache_path set in
##[defaults]
## [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.
#is_adult:true

## Don't like the numbers at the start of chapter titles on some
## sites? You can use strip_chapter_numbers to strip them off. Just
## want to make them all look the same? Strip them off, then add them
## back on with add_chapter_numbers. Don't like the way it strips
## numbers or adds them back? See chapter_title_strip_pattern and
## chapter_title_add_pattern.
#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.
#include_images:true

## 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.
#keep_summary_html:true

## 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:true

## Resize images down to width, height, preserving aspect ratio.
## Nook size, with margin.
#image_max_size: 580, 725

## Change image to grayscale, if graphics library allows, to save
## space.
#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.twcslibrary.net]
#username:YourName
#password:yourpassword
#is_adult:true
## default is false
#collect_series: 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


## 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


I wasn't sure where exactly to put the path ....

But i still get the error message, that /home/kathrin is no valid browser-cache-directory.

Spoiler:

Status
Titel
Autor
Kommentar
URL
Fehler
Unknown
Unknown
Directory does not contain a known browser cache type: '/home/kathrin'
https://www.fanfiction.net/s/1380727...t-of-the-Minds


So i assume that the path isn't set correctly as it searches in /home/kathrin and not the mentioned cache path.

I am very sorry if this problem is basic - usually i am pretty good with the error solving when calibre is acting up - but i am at a loss atm.

I appreciate the work you put into this plugin, this helped my wife tremendously building a huge database of fanfiction she likes.

Thanks for any advice that you can give.

Stefan
linuxstony is offline   Reply With Quote