Quote:
Originally Posted by Electricboa
Okay, I have an interesting problem. I’m trying to use the browser cache feature to download stories from fanfiction.net. With the current version (4.29.0), I can download an individual story just fine if I manually post the url, but if I try to get a list of stories from an author’s page, I get this message:
If I go back to version 4.25.0 then it will properly list the urls from an author’s page. Nothing in my personal.ini changes from one version to the other. I have the proper browser cache set for Firefox, obviously since it works with 4.25.0. The problem starts with 4.26.0 For whatever reason, it just stops being able to get the individual story urls
|
Quote:
Originally Posted by JimmXinu
I can confirm behavior, but I don't know why. It's been like 4 months since the last browser cache change.
I'll look into it, but you can work around it pretty trivially:
Copy paste the story list from browser into the 'Download from URLs' (or 'Make Anthology from URLs') dialog instead of using 'Get Story URLs from Web page'. The story URLs will be picked out.
|
I've figured out what changed: I
explicitly set usecache=False during 'get urls from web page' to address an
even more obscure corner case(#979).
I'm still considering the best solution. I could just reverse that change, but it may be better to instead ignore the usecache flag when
use_browser_cache:true. Or maybe only when
use_browser_cache_only:true.
usecache is really meant for BasicCache, not BrowserCache.
EDIT: OTOH, perhaps the correct answer is the work around given before: copy/paste or drag-n-drop. Fetching the author page with Get URLs from Web Page gives you their favorite list, not the author's stories. Because both are in the HTML and switched by javascript.