![]() |
#6016 | |
Member
![]() Posts: 17
Karma: 10
Join Date: Jun 2021
Device: none
|
Quote:
1. Find your browser cache location. For mine, I have a Mac and my browser is Chrome. From the list given to us on https://github.com/JimmXinu/FanFicFa...erCacheFeature, I located it to be: #browser_cache_path:/Users/your.user/Library/Caches/Google/Chrome/Default/Cache For your LG Laptop which likely runs Windows, if you use the browser Chrome, then your location would be either of these two: browser_cache_path:C:\Users\YourUser\AppData\Local \Google\Chrome\User Data\Default\Cache browser_cache_path:C:\Users\YourUser\AppData\Local \Google\Chrome\User Data\Profile 1\Cache For Firefox: browser_cache_path:C:\Users\YourUser\AppData\Local \Mozilla\Firefox\Profiles\ZjwI7Fo4.default\cache2 Just make sure to choose the appropriate option for your location, and replace "YourUser" with your windows username. 2. After you've found the right location enter it below [defaults] in personal.ini. The top part of my code looks like this: [defaults] browser_cache_path:/Users/YourUser/Library/Caches/Google/Chrome/Default/Cache ## [defaults] section applies to all formats and sites but may be ## overridden at several levels. Example: 3. Last step is to copy in these lines of code near the end of the personal.ini code under [overrides]: [www.fanfiction.net] ##the following line tells FFF to use the browser cache when set to true use_browser_cache:true ##the following line limits FFF to use cache entries no older than the ##number of hours shown ##(in this case, cached items no 4 hours or less old). browser_cache_age_limit:4.0 use_browser_cache_only:true (You don't have to add in the comments if you don't want to. They're just a personal preference of mine.) Last edited by SilentShadow123; 06-11-2021 at 10:17 PM. |
|
![]() |
![]() |
![]() |
#6017 | |
Member
![]() Posts: 18
Karma: 10
Join Date: Apr 2016
Device: kindle fire
|
Quote:
cloudscraper reports: "Detected a Cloudflare version 2 Captcha challenge, This feature is not available...." How do I work around that? I thought that was what the Browser Cache Feature was supposed to do. |
|
![]() |
![]() |
![]() |
#6018 | |
Member
![]() Posts: 17
Karma: 10
Join Date: Jun 2021
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#6019 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,995
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#6020 |
Member
![]() Posts: 18
Karma: 10
Join Date: Apr 2016
Device: kindle fire
|
I was able to update 2 stories last night. This morning I tried and it won't work. I've tried your step 3. the same thing. I take it out same thing I have it in now and get this message: cloudscraper reports: "Detected a Cloudflare version 2 Captcha challenge, This feature is not available...."
Is all of this a workaround until ffn gets their act together/finish whatever it is they are doing? Or is this the way we need to start updating all ffn stories.? At least now my Calibre is seeing the cache so that is better than last night. |
![]() |
![]() |
![]() |
#6021 |
Member
![]() Posts: 15
Karma: 10
Join Date: Oct 2009
Device: Kindle Fire
|
Don't know if this idea has been mentioned in the past or not. I have found when I get a cloudflare capcha challenge and I go back a page or reload the page or something along the line of reloading the page, it clears the captcha and it goes on to the page. I do not know if this is possible to do or not in the fan fiction app, or if has been mentioned or tried before. Just thought I would let you know something I have done to avoid the cloudflare capcha. (I mainly try to avoid it because I am on a VPN and Capcha, for some reason, does not work in the states when using it, but it does work if I move the VPN connection to another country).
|
![]() |
![]() |
![]() |
#6022 | |
Enthusiast
![]() Posts: 31
Karma: 10
Join Date: Dec 2020
Device: Kobo Glo
|
Is there a site where people share their inis?
I would assume most want the same thing... I still get: Erotica Tags, Summary, Erotica Tags, Rating with blanking the titlepage: Quote:
When I have tocpage:false in epub and tocpage:true in literotica, it will not write an toc, but when I have tocpage:true in epub and tocpage:false in literotica it will write one. Is that a bug or is there a Setting that does this? Last edited by HowWouldIKnow; 06-13-2021 at 03:28 PM. |
|
![]() |
![]() |
![]() |
#6023 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,995
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I am not responding to any post in specific, but when Cloudflare was first implemented there was a pretty long discussion about what options were available and Jim decided that using the cache would be best. I believe he specifically said that he did not care to get into an arms race with Cloudflare.
|
![]() |
![]() |
![]() |
#6024 |
Connoisseur
![]() Posts: 88
Karma: 18
Join Date: Jun 2020
Device: Boox Note Air3, don't use my kindle anymore
|
Thanks for implementing the Cache feature Jim!
Thanks Jim for the cache feature. It works really well!!
Finally got round to using it this past weekend as the aggressive cloudflare setting FFF is using seems to be here to stay... some "tips" that might help others 1. if using email notifications from FFF to announce new chapters / books of subscribed stories/authors/communities, it's useful to label all messages from bot@fanfiction.net with a special tag (in gmail, you just setup a rule). that way you can easily find all the messages that need special handling (over others from say AO3 that don't) 2. Hotkeys are your friends in chrome. what I do is go to my special label (my label is called process) and then click the last new email, control click on all the links to load the new chapter in a new background tab and then use the previous message button and quickly finish loading up all the new emails. After all new emails are done, click on the label again, select all emails, right click and mark them as unread and right click again and remove the label. now you can just use the "get story urls from email" feature in FanficFare to process all the updated and new stories at one go. but before starting the FanFicFare process, you should do the following bit below first After clearing the labels in the gmail tab, I then switch to the first opened tab (with an updated FFF story pointing to the latest chapter as the email notification link sends you there by default) with "Control-Tab" (hotkey to switch to next tab to the right in Chrome) and then put the mouse where the chapter selector is, click on it and select first page (need to reload the first and last page in the cache). then control-tab, click (no need to move the mouse as the chapter selector is in the same place for all stories), and repeat for all tabs. takes 5 mins to clear about 20-30 new stories. if a story has more than one new chapter, additional clicking is needed. exception is emails from FFF communities pointing out new stories added to the community. for those emails, the link to the story is not the top link (that links to the community link). you need to scroll down and click the 2nd link. 3. The WebToEpub Chrome plugin is super useful if you want to load up a whole story (new story or something that just broke due to reasons). click on pack epub to load all pages. if it hangs, you need to reload any FFF page and wait for the captcha to pass. WebToEpub will eventually resume but the page it was stuck on might have an error and need to be reloaded. 4. remember to click on the photo on the first page of a new story if you want the image in the epub (and set the appropriate use image setting in personal.ini). 5. A somewhat common FFF error occurs when a story has a new chapter (say 40) and you can open chapter 40 in the browser but when you select chapter 1, chapter 1 loads and shows only 39 chapters. i.e. the first chapter is not updated. You need to wait until the first chapter is updated (reload chapter 1 some time later) before the story can be updated properly. Hope this helps... also, don't be like me and spend 15 mins wondering why the cache was not working only to realise the cache was not being saved due to disk space issues.. oops! Last edited by bigwoof; 06-14-2021 at 07:12 PM. |
![]() |
![]() |
![]() |
#6025 |
Member
![]() Posts: 17
Karma: 10
Join Date: Jun 2021
Device: none
|
Hey, I was wondering if there's a way to have the covers on fanfiction.net get automatically added as the covers of those same books after I've downloaded them into calibre? Right now, all the books I download from fanfiction.net have blue/default blank covers.
|
![]() |
![]() |
![]() |
#6026 | |
Connoisseur
![]() Posts: 88
Karma: 18
Join Date: Jun 2020
Device: Boox Note Air3, don't use my kindle anymore
|
Quote:
## If you want covers to work correctly with use_browser_cache, you'll ## need to click the cover image at least once for each story. Or ## turn cover off. never_make_cover:false if you have already downloaded the whole story, you can delete the last chapter (press T in calibre to bring up the book editor then delete the last chapter and save) and then update to get the deleted chapter and the book image. It might be possible to just update the cover from the cache without updating a chapter. not sure if the update metadata options will work. Last edited by bigwoof; 06-14-2021 at 05:39 AM. |
|
![]() |
![]() |
![]() |
#6027 | ||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
For reasons that made sense at the time, [epub] takes priority over [site.com]. See https://github.com/JimmXinu/FanFicFa...ion-precedence Quote:
![]() I have lost basically all interest in fighting with ffnet about this. Browser cache works well enough for me for the few active authors I still read on ffnet. Unless someone comes up with a radical new idea, I'm not thinking about it anymore right now. Many thanks to the members here are willing and able to help each other. |
||
![]() |
![]() |
![]() |
#6028 | |
Member
![]() Posts: 17
Karma: 10
Join Date: Jun 2021
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#6029 | |
Member
![]() Posts: 12
Karma: 10
Join Date: Jun 2021
Device: Calibre
|
Quote:
Browser Cache Failed to Load with error 'Supposed cache entry file did not end with EOF header with correct magic number: '/Users/XXX/Library/Caches/Google/Chrome/Default/Cache/faec7cb1ba53525a_0'' I get this even after clearing the cache and clicking through every chapter on a story. Curiously, I get the exact same error when trying a story that hasn't been cached. |
|
![]() |
![]() |
![]() |
#6030 | |
Connoisseur
![]() Posts: 88
Karma: 18
Join Date: Jun 2020
Device: Boox Note Air3, don't use my kindle anymore
|
Quote:
1. if you get the same behaviour before and after clearing the cache, your directory might not be the actual cache directory then. it appears you are on a mac (so I can't give a definitive answer as I don't have one) but can you try this directory instead? /Users/XXX/Library/Caches/Google/Chrome/Default/Cache/ instead? replace XXX with your user. also please view the directory above (and your original) in a file browser. the actual cache directory will have files inside called index, data_0, data_1, ..., and lots of other small files. 2. If the directory is correct, make sure chrome can write to it and that you have enough disk space. to check it's the right directory and it's working, launch chrome, access new websites and make sure files are appearing in that directory. if nothing is appearing, it's either wrong or you don't have permission / sufficient disk space. hope this helps! |
|
![]() |
![]() |
![]() |
Tags |
fanfiction |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 523 | 07-15-2025 06:45 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 05:42 AM |
[GUI Plugin] Marvin XD | Philantrop | Plugins | 126 | 01-29-2017 12:48 PM |
[GUI Plugin] KiNotes | -axel- | Plugins | 0 | 07-14-2013 06:39 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |