Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 04-08-2025, 03:58 PM   #10561
wildfire070
Enthusiast
wildfire070 began at the beginning.
 
Posts: 49
Karma: 32
Join Date: May 2012
Device: Kindle Oasis, Scribe, Paperwhite // Boox Palma // Supernote
I got an error while trying to download a story from AO3 today. Never had this error show up before:

'NoneType' object has no attribute 'get_text'

Any ideas?
wildfire070 is offline   Reply With Quote
Old 04-08-2025, 08:17 PM   #10562
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Nope. Without a story URL, I can't even try the same story.

A debug log would show where the problem occurred. Retry with Calibre in debug (under Calibre Preferences dropdown.)
JimmXinu is offline   Reply With Quote
Advert
Old 04-08-2025, 09:39 PM   #10563
FlyingSpaceOxen
Junior Member
FlyingSpaceOxen began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2025
Device: Kobo Clara 2E
Recent changes with FictionMania

FictionMania now gives "429 Too Many Requests" errors should one exceed a very low threshold of total user activity via web browser and/or FanFicFare, with an accompanying message of "If you're a human being, try again tomorrow." A post by a site admin on the hyberboard states that this was done to combat users mass downloading stories and bots.

I got around this by adding "slow_down_sleep_time:10" under [fictionmania.tv], but care should be taken to avoid clicking any links on the site while FFF is working, otherwise your IP address is liable to be blocked till the next day. The default value for this site should probably be raised accordingly.

The site also seems to instantly block you when it detects FFF's default "user_agent:FFF/4.X". This occurred several times before I changed it to mimic a Firefox user agent.

Additionally, "Story with Images" URLs are not being detected by FFF, with the error: "adapter_fictionmaniatv.py(175): Story With Images(SWI) not found, falling back to HTML."
FlyingSpaceOxen is offline   Reply With Quote
Old 04-08-2025, 11:52 PM   #10564
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
I have no problem setting default slow_down_sleep_time:10 and clearing the default user_agent for FictionMania.

Quote:
Originally Posted by FlyingSpaceOxen View Post
Additionally, "Story with Images" URLs are not being detected by FFF, with the error: "adapter_fictionmaniatv.py(175): Story With Images(SWI) not found, falling back to HTML."
I don't read FictionMania myself, so I don't know what that means off hand.

Looking at the adapter, it's not one I wrote, either. And that the site was originally text only with html support wedged in later.

Looking at the site, it's not immediately obvious to me what's different between 'html' and 'SWI'. But I'll look into it tomorrow.
JimmXinu is offline   Reply With Quote
Old 04-09-2025, 01:00 AM   #10565
FlyingSpaceOxen
Junior Member
FlyingSpaceOxen began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2025
Device: Kobo Clara 2E
Quote:
Originally Posted by JimmXinu View Post

Looking at the site, it's not immediately obvious to me what's different between 'html' and 'SWI'. But I'll look into it tomorrow.
Here's a random example of a standard HTML story URL:
https://www.fictionmania.tv/stories/...43749251351680

...and a SWI story URL:
https://www.fictionmania.tv/stories/...57645259448893
FlyingSpaceOxen is offline   Reply With Quote
Advert
Old 04-09-2025, 02:22 AM   #10566
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by JimmXinu View Post
First problem I see in the log is that FFF is trying to log in which doesn't work for AO3 through BrowserCache. Comment out username to prevent that.

(There's a whole history about get urls from page logging in even without always_login for reasons.)

You might try use_archive_transformativeworks_org:true (and username commented out) instead of browser cache, that's been working well for me.
This post solved all my browse caching problems! I didn't realize I'd need to comment out my Ao3 login information.

Thanks for creating the cache downloading option, it's been so helpful during Ao3's wait for new servers.
Amalthia is offline   Reply With Quote
Old 04-09-2025, 10:50 AM   #10567
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2025-04-09
- adapter_fictionmaniatv: Updates for site change

Quote:
Originally Posted by FlyingSpaceOxen View Post
Here's a random example of a standard HTML story URL:
That first one is a text story--readtextstory.html. The URLs for 'HTML' and 'SWI' can both be readhtmlstory.html, and older HTML stories can be readxstory.html.

The problem is that the site HTML doesn't have any internal id or class attributes for FFF to find chapter text with. So we were left looking for inline styles to find the chapter text. And that style has changed. For some stories. Inconsistently.

The only consistent marker I see is an HTML comment, so we'll try that. I tested with a handful of stories from now and from 2020. Please report any story URLs that don't work -- NSFW via PM or by posting the storyID number only, not the full URL so-as to not link to NSFW directly.
JimmXinu is offline   Reply With Quote
Old 04-09-2025, 01:42 PM   #10568
steltek
Connoisseur
steltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura about
 
Posts: 69
Karma: 4484
Join Date: Jan 2016
Device: none
I've been getting a weird error in trying to download a fic from Spacebattles.

https://forums.spacebattles.com/thre...er-au.1223009/

Whenever I try to download it (I've tried for several days now), it always throws an "None of the 1 URLs/stories given can be/need to be downloaded. See log for details".

In the log, it shows Status: Error, Title: Unknown, Author: Unknown, Comment: "Time Period", and URL: https://forums.spacebattles.com/thre...er-au.1223009/

Every other SB download I do works without any problem, except for this single one. Wondering if it has something to do with the length of the URL or something.

Any ideas?

Last edited by steltek; 04-09-2025 at 01:46 PM.
steltek is offline   Reply With Quote
Old 04-09-2025, 01:46 PM   #10569
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by steltek View Post
In the log, it shows Status: Error, Title: Unknown, Author: Unknown, Comment: "Time Period", and URL: https://forums.spacebattles.com/thre...er-au.1223009/
Should already be fixed in the current test version.

2025-04-01
- base_xenforoforum: Add timeperiodtags and better handle unexpected typed tags
JimmXinu is offline   Reply With Quote
Old 04-09-2025, 03:41 PM   #10570
steltek
Connoisseur
steltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura about
 
Posts: 69
Karma: 4484
Join Date: Jan 2016
Device: none
Quote:
Originally Posted by JimmXinu View Post
Should already be fixed in the current test version.

2025-04-01
- base_xenforoforum: Add timeperiodtags and better handle unexpected typed tags
You were right - test version resolved the issue.

Thanks!
steltek is offline   Reply With Quote
Old 04-09-2025, 11:48 PM   #10571
jesscat
Groupie
jesscat has a complete set of Star Wars action figures.jesscat has a complete set of Star Wars action figures.jesscat has a complete set of Star Wars action figures.jesscat has a complete set of Star Wars action figures.
 
Posts: 164
Karma: 354
Join Date: Mar 2009
Location: US
Device: iPad mini
Quote:
Originally Posted by JimmXinu View Post
(Very) Test Version Attached

Nobody said anything about the version I posted that did archive.transformativeworks.org as a separate site.

This version has a switch to force the usual archiveofourown.org adapter to instead use archive.transformativeworks.org for all network requests:
Code:
[archiveofourown.org]
use_archive_transformativeworks_org:true
Note that it cannot log in because log in doesn't work on archive.transformativeworks.org.

Other than the actual network reqs, this version still uses and records the normal AO3 domain.

This seems to work for me. I'd like to hear other peoples results.
This works great for me! It does lose my AO3 bookmark status metadata column but that's a small price to pay.

But one thing I don't understand about this site: since there's no way to log in, that seems to mean that stories that require users to be logged in on AO3 just aren't accessible at all on archive.transformativeworks.org, so this fix can't work for them. Or am I missing something?
jesscat is offline   Reply With Quote
Old 04-10-2025, 09:38 AM   #10572
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by jesscat View Post
This works great for me! It does lose my AO3 bookmark status metadata column but that's a small price to pay.

But one thing I don't understand about this site: since there's no way to log in, that seems to mean that stories that require users to be logged in on AO3 just aren't accessible at all on archive.transformativeworks.org, so this fix can't work for them. Or am I missing something?
Correct.
JimmXinu is offline   Reply With Quote
Old 04-11-2025, 02:10 AM   #10573
PandathePanda
a toy panda
PandathePanda ought to be getting tired of karma fortunes by now.PandathePanda ought to be getting tired of karma fortunes by now.PandathePanda ought to be getting tired of karma fortunes by now.PandathePanda ought to be getting tired of karma fortunes by now.PandathePanda ought to be getting tired of karma fortunes by now.PandathePanda ought to be getting tired of karma fortunes by now.PandathePanda ought to be getting tired of karma fortunes by now.PandathePanda ought to be getting tired of karma fortunes by now.PandathePanda ought to be getting tired of karma fortunes by now.PandathePanda ought to be getting tired of karma fortunes by now.PandathePanda ought to be getting tired of karma fortunes by now.
 
PandathePanda's Avatar
 
Posts: 2,568
Karma: 26020474
Join Date: Mar 2014
Location: Onboard the Queen Anne's Revenge
Device: Various Android dvices
Status
Title
Author
Comment
URL
Error
Not sure why this is happening:

Quote:
Pokemon: The Origin of Species

HTTP Error in FFF '403 Client Error: Forbidden for url: https://www.fanfiction.net/s/9794740/1/'(403)
https://www.fanfiction.net/s/9794740/1/
Same problem when trying to download a new story:

PandathePanda is offline   Reply With Quote
Old 04-11-2025, 05:56 AM   #10574
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,995
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
You haven't run into that in the last 4 years?????

https://github.com/JimmXinu/FanFicFa...-fanfictionnet
ownedbycats is offline   Reply With Quote
Old 04-11-2025, 11:59 AM   #10575
FlyingSpaceOxen
Junior Member
FlyingSpaceOxen began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2025
Device: Kobo Clara 2E
Quote:
Originally Posted by JimmXinu View Post

The problem is that the site HTML doesn't have any internal id or class attributes for FFF to find chapter text with. So we were left looking for inline styles to find the chapter text. And that style has changed. For some stories. Inconsistently.

The only consistent marker I see is an HTML comment, so we'll try that. I tested with a handful of stories from now and from 2020. Please report any story URLs that don't work -- NSFW via PM or by posting the storyID number only, not the full URL so-as to not link to NSFW directly.
Okay, I've tried the test version on random SWI stories ranging from the past 20 years, with differing styles as you've noted. More often than not FFF retrieves them without issue, with the following exceptions.

Occasionally the ad and donation links that are at the bottom of every page on the site are included within the downloaded result; a minor thing but the ads are frequently NSFW regardless of story content. Their readhtmlstory storyID numbers as follows:
33038740531430700263
1429956980574453274
12561299851119015

Then I tried to find SWI stories that consistently failed. These entries' dates place them among the earliest uploaded to the site and seem to have similar formatting.
300645328460827266
30459763732145259
298260336937450
FlyingSpaceOxen is offline   Reply With Quote
Reply

Tags
fanfiction


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 09:52 AM.


MobileRead.com is a privately owned, operated and funded community.