![]() |
#5431 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 32
Karma: 2464
Join Date: Dec 2020
Location: Vancouver, Canada
Device: iPad, Mac Mini M4 Pro
|
Well, FF.net is at again. The latest plugin reports bad chapters and doesn't download. Calibre 5.10.1 and plugin 3.99.27 yield this:
Traceback (most recent call last): cloudscraper.exceptions.CloudflareChallengeError: Detected a Cloudflare version 2 challenge, This feature is not available in the opensource (free) version. During handling of the above exception, another exception occurred: Traceback (most recent call last): calibre_plugins.fanficfare_plugin.fanficfare.excep tions.FailedToDownload: cloudscraper reports: "Detected a Cloudflare version 2 challenge, This Story URL: https://www.fanfiction.net/s/1358165...rmione-Granger This was new to me so nothing to overwite. |
![]() |
![]() |
![]() |
#5432 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,992
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Use the cache in the test version.
|
![]() |
![]() |
Advert | |
|
![]() |
#5433 |
Connoisseur
![]() Posts: 51
Karma: 10
Join Date: Oct 2014
Device: Kindle Fire HD
|
Is there some sort of functionality in FFF that allows for a limited number of retries for failed chapter downloads? I've had several failed downloads that have occurred without any clear pattern due to some websocket issue that causes one chapter to fail out of the entire story. While an immediate retry successfully downloads the full thing, it'd be nice if you could tell FFF to retry the chapter download after a brief pause to not require fully querying the entire story again.
Additionally, it'd also be nice if there was some sort of option to only download new chapters rather than the whole fic especially given the restrictions with FF.net. I just attempted a download of a story with 305 chapters using the default sleep time settings (total download time was 1+ hours) and apparently it was enough to trigger the Cloudflare Lvl 2 challenge, preventing the final three chapters from being retrieved. Edit: Apparently the triggering of the level 2 challenge may have been unrelated to my download, given booster-t's reply above? Edit 2: Ignore my requests, apparently this functionality is already in FFF under a specific update mode and I somehow misunderstood the modes even after reading through the wiki. Last edited by watani; 02-11-2021 at 12:57 PM. Reason: New context for issue in original reply. |
![]() |
![]() |
![]() |
#5434 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,992
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
continue_on_chapter_error:true will add a placeholder page for failed chapters. I think it's become default in one of the new test versions, and update ePub will also try to re-fetch the failed chapters was also recently added.
I've been getting the Cloudflare challenges very sporadically too—I suspect ffnet might've misconfigured something. Last edited by ownedbycats; 02-11-2021 at 12:31 PM. |
![]() |
![]() |
![]() |
#5435 | |
Connoisseur
![]() Posts: 51
Karma: 10
Join Date: Oct 2014
Device: Kindle Fire HD
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#5436 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 173
Karma: 8098
Join Date: Jun 2012
Location: Germany
Device: Kindle Voyage, Kindle Oasis
|
Quote:
Change it to "Update EPUB if New Chapters" - but that´s only possible if you use EPUB format. see also https://github.com/JimmXinu/FanFicFare/wiki/UpdateModes Or you can tell FFF exactly which chapter it should download. Add [1,5] after the URL to limit the download to chapters 1-5. Or whatever chapters you want . Last edited by ILB; 02-11-2021 at 12:56 PM. |
|
![]() |
![]() |
![]() |
#5437 | |
Connoisseur
![]() Posts: 51
Karma: 10
Join Date: Oct 2014
Device: Kindle Fire HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#5438 | ||
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 173
Karma: 8098
Join Date: Jun 2012
Location: Germany
Device: Kindle Voyage, Kindle Oasis
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#5439 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
If you want to attach some .eml files (ideally some with accented characters too) that this happens to, I will look at them. But RSS is not something I officially support. |
|
![]() |
![]() |
![]() |
#5440 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,992
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
One oddity though: the fic links aren't in the body itself, but in a non-standard Content-Base header, and editing it so the link is in the body itself causes it to accept. Is it possible that the changes that were made caused it to ignore headers? I couldn't find any RSS text/html messages with accented characters, though the AO3 one contains a U+2026 ellipsis. But for testing purposes opening either file in text editor and adding the characters should work: ÀÉÏÕÛąĕĩőū EDIT: It would be helpful if I attached the file. Last edited by ownedbycats; 02-11-2021 at 04:51 PM. |
|
![]() |
![]() |
![]() |
#5441 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New Test Version Posted
2021-02-11 - Allow tweak_fg_sleep etc with any site, add defaults settings for basexenforo, fictionalley and fictionpress. - Drag/drop of 'emails'--look for story URL in Content-Base header for Thunderbird RSS 'emails'. - Apply 'email' proc flag when processing dragged .eml files--which are emails. - Update translations. |
![]() |
![]() |
![]() |
#5442 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
|
![]() |
![]() |
![]() |
#5443 | |
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Feb 2015
Device: none
|
Quote:
I am getting this error: cloudscraper reports: "Cloudflare IUAM possibility malformed, issue extracing delay value." This is what I have entered under personal.ini Under defaults: Spoiler:
Then under overrides [overrides] ## default varies by site. Set true here to force all sites to ## collect series. #collect_series: true ##[www.fanfiction.net] ##use_browser_cache:true ##browser_cache_age_limit:4.0 ##use_browser_cache_only:true Can anyone tell me what I did wrong? |
|
![]() |
![]() |
![]() |
#5444 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,992
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
Content-Base was used officially in earlier versions of the HTTP and MHTML standards, but deprecated in both. But it's still used as a non-standard header in some contexts such as emails. One of my favourite things is RFC 2324. |
|
![]() |
![]() |
![]() |
#5445 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,992
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
Last edited by ownedbycats; 02-11-2021 at 07:52 PM. |
|
![]() |
![]() |
![]() |
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 |