![]() |
#4996 | |
Enthusiast
![]() Posts: 40
Karma: 10
Join Date: Mar 2010
Location: UK
Device: PW4, Libra H20,Libra 2, Aura ONE & Clara HD
|
Quote:
I just tried it on Calibre 4.23 (Win10) and it didn't work for me: Status Title Stranger Than Fiction (Avengers) Author Neuropsych Comment Detected a Cloudflare version 2 Captcha challenge, This feature is not available in the opensource (free) version. URL https://www.fanfiction.net/s/13747370/1/ Error |
|
![]() |
![]() |
![]() |
#4997 | ||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Quote:
|
||
![]() |
![]() |
Advert | |
|
![]() |
#4998 |
Enthusiast
![]() Posts: 40
Karma: 10
Join Date: Mar 2010
Location: UK
Device: PW4, Libra H20,Libra 2, Aura ONE & Clara HD
|
Hi Jimm
I updated Calibre to 5.7.2 with your test plug-in & it worked!! Thank you so much :-) |
![]() |
![]() |
![]() |
#4999 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,000
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I installed the test version and ran tests on a few random fics to see if I came across any errors. I got a nonetype error once, but running it on that fic a second time gave me the usual "already has 6 chapters..." message.
If I come across any fics that consistently produce errors, I'll post the links. But tentatively I'd say it's working. Last edited by ownedbycats; 12-22-2020 at 03:12 PM. |
![]() |
![]() |
![]() |
#5000 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New Test-Test Version
Instead of the usual place: https://www.mobileread.com/forums/sh...88#post4072388 2020-12-22 - Adding cloudscraper and dependencies - Updates for many included dependencies - Need to semi-manually raise HTTPError for error codes with cloudscraper/requests. - Temp: dump ffnet page to debug when metadata parsing fails. - Clean up cloudscraper import - Use requests.util.extract_zipped_paths to get browsers.json instead of kludge. |
![]() |
![]() |
Advert | |
|
![]() |
#5001 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,000
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Of course, now that you've gone to all this effort to fix it, what are the chances that FictionPress will reduce the CloudFlare protections in a few days?
![]() |
![]() |
![]() |
![]() |
#5002 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Yet Another New Test-Test Version
Instead of the usual place: https://www.mobileread.com/forums/sh...88#post4072388 2020-12-22 - Adding cloudscraper and dependencies - Updates for many included dependencies - Need to semi-manually raise HTTPError for error codes with cloudscraper/requests. - Temp: dump ffnet page to debug when metadata parsing fails. - Clean up cloudscraper import - Use requests.util.extract_zipped_paths to get browsers.json instead of kludge. - Don't use mobile User-Agents with cloudscraper--adapter_fanfictionnet doesn't handle mobile pages. I figured out why it was giving 'other' HTML sometimes--randomly selected mobile browser User-Agents. Last edited by JimmXinu; 12-23-2020 at 12:02 PM. |
![]() |
![]() |
![]() |
#5003 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Dec 2020
Device: Kindle
|
Reporting an error
I have gotten this error for the last few days. Title:
Status Title Author Comment URL Error Unknown Unknown HTTP Error 403: Forbidden https://www.fanfiction.net/s/13773051/1/ Status in calibre: Invalid Bug description: I have gotten this error for the last few days. I've done the latest update, but it is still happening on more than one story. I am using version 5.7.2 64 bit; Windows 8.1. I was trying to download as a Kindle file. Thanks! |
![]() |
![]() |
![]() |
#5004 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,000
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
tl;dr: FFnet was getting DDoSed and added Cloudflare. Cloudflare detects FFF as a bot and blocks it. JimmXinu made a test version of FFF that doesn't get blocked. Last edited by ownedbycats; 12-22-2020 at 04:22 PM. |
|
![]() |
![]() |
![]() |
#5005 | |
Member
![]() Posts: 20
Karma: 10
Join Date: May 2020
Device: Kobo
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#5006 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,000
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
edit: delete
Last edited by ownedbycats; 12-22-2020 at 04:32 PM. |
![]() |
![]() |
![]() |
#5007 |
Member
![]() Posts: 20
Karma: 10
Join Date: May 2020
Device: Kobo
|
StoriesOnline "dupe" story ID/URL re-use issue...
Not sure how/if this gets addressed for other sites, but SoL occasionally "archives"(deletes) stories (for various reasons). Once a story is fully archived/deleted, its story ID/URL (e.g. /12345) is eligible for re-use. FFF only looks at the story/URL to determine if a story is "new" or "updated". Also looking at story title or author likely would not help as sometimes those are updated for various reasons... When a story ID is re-used, it results in errors like "Already contains 1 chapters" or an error about current containing more chapters than online version. Doing a Calibre search by the SoL ID will show a completely different story than the one it is trying to download - ID re-use. My "fix" is to manually change the "old" story URL in Calibre to include the "publication" date for uniqueness, e.g. something like "/12345-2020-12-01" and just download the "new" one again. I also create a "SOL:" identifier in Calibre with that same format. Initially I just added "/12345-old" but then I started getting some stories that were re-used again! Unfortunately, this is an entirely manual process... Not sure if FFF could create this identifier automatically and if it could, could it be used to actually differentiate between "/12345", "/12345-2020-12-20", and "/12345-2017-11-14"? As these could potentially all have existed as 3 different stories from 3 different authors.... As a test, you should be able to simulate the issue by downloading some story with FFF, changing its URL to match another story and then try to download that 2nd story. FFF should reject it as already existing (either with same/more chapters). I haven't looked too closely to see what happens if old story had 1 chapter and new one has more? will it "update" the story and add missing chapters to end of existing story?... The other errors are more noticeable since it complains that it did not/would not download/update for equal/more local chapter reasons so I update the URL and retry.. (I can already imagine JimmXinu's dislike for SoL flaring up, so maybe someone else has an idea/fix? ![]() |
![]() |
![]() |
![]() |
#5008 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,000
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Code:
add_to_replace_metadata: ## Changes breaks to paragraphs in comments for better formatting description=><br/>=></p><p> description=><p>=><p align="justify"> |
![]() |
![]() |
![]() |
#5009 |
Member
![]() Posts: 19
Karma: 10
Join Date: Mar 2018
Device: none
|
Thanks for your hardwork jim, it works with my 3.14 for the ffnet stuff as I rarely use storyonline so i don't know about it
|
![]() |
![]() |
![]() |
#5010 |
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Feb 2015
Device: none
|
How to install test version?
Can someone advise me on how to install the test version into Calibre? I am running the newest version of Calibre/
|
![]() |
![]() |
![]() |
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 |