05-06-2021, 05:04 PM | #5896 |
Plugin Developer
Posts: 6,307
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Have you already reviewed the two available work around solutions?
Namely, the Browser Cache Feature implemented directly in FFF and NSAPA's (experimental) proxy system. FYI, I continue to not see any problems with light ffnet downloads and updates. I think the people seeing issues are on networks that, for whatever reason, CF has flagged for additional checking. Based on past experience, if everybody were having problems, we'd see a lot more people complaining. |
05-07-2021, 01:31 AM | #5897 |
Junior Member
Posts: 8
Karma: 10
Join Date: May 2021
Device: none
|
Thanks, I haven't tried either the browser cache or captcha proxy so far, since up til now I've been running fff on a headless server (but NOT for very heavy downloading). I've since tried on 3 residential networks and a mobile network and gotten v2 challenge every time. I guess I can try the browser cache or proxy approach though having to manually load dozens or 100+ chapters of a long fic sounds like a nuisance, and someone upthread says cloudflare can now tell if selenium is running the browser. I might try my hand at writing a firefox extension to get the chapters sometime. But I feel like it is more promising in the long run to keep looking for ways to bypass ffnet entirely.
Unrelated issue: I ran "pip install fanficfare" and it installed the fff python code (written in python 3) but tries to run it under python2, which fails badly. I had to uninstall and reinstall with pip3. Probably best to disable the python2 installation somehow. (Does anyone know how many posts I need before I stop getting the recaptcha on every post, if it ever stops)? |
05-07-2021, 06:50 AM | #5898 |
Enthusiast
Posts: 45
Karma: 10
Join Date: Jan 2021
Device: Kindle Paperwhite 4
|
I had same issue recently (as I mentioned in previous post) but it got resolved the next day, everytime. I just assume they temporarily block ppl who download too much too fast.
I don't use browser cache. If the issue ever bother me, I will, but so far I prefer to just save a link and try again the next day. |
05-07-2021, 08:11 AM | #5899 |
Custom User Title
Posts: 8,557
Karma: 61170925
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
@Science Friction - I believe the webtoepub plugin will spin through all the chapters and load them into the cache, if you'd like to try that.
Last edited by ownedbycats; 05-07-2021 at 09:23 AM. |
05-07-2021, 12:53 PM | #5900 | |
Enthusiast
Posts: 37
Karma: 10
Join Date: Aug 2015
Device: pc
|
Quote:
I switch Update Mode depending on whether I'm updating stories to which I've subscribed or downloading someone's list of recommendations (when I'll skip existing rather than update). I leave the Calibre Metadata option always checked and the EPUB cover always unchecked. |
|
05-07-2021, 06:03 PM | #5901 | |
Junior Member
Posts: 8
Karma: 10
Join Date: May 2021
Device: none
|
Quote:
Anyway, you're right, this does seem to be non-deterministic and it resets (or at least changes) after a while. I wonder whether cloudflare detects heavy downloading towards the entire site, rather than from a specific IP or network, in deciding to put up the v2 challenge. @JimmXinu, another suggestion: when it's an AO3 download, could fff possibly use the "entire work" link to get the whole story in one operation, instead of retrieving 1 chapter at a time? Thanks. Last edited by Science Friction; 05-07-2021 at 06:07 PM. |
|
05-07-2021, 06:17 PM | #5902 |
Custom User Title
Posts: 8,557
Karma: 61170925
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
It already does.
Code:
## AO3 offers a page to download the entire work at once. This can ## save a lot of network traffic if there are many chapters. ## True by built-in default. #use_view_full_work:true |
05-07-2021, 08:34 PM | #5903 |
Junior Member
Posts: 8
Karma: 10
Join Date: May 2021
Device: none
|
Thanks! I wonder if that is new. I am pretty sure it didn't do that when I tried some time back, but it does now. I also hadn't noticed that option before. I only recently started messing with fff again.
Meanwhile I did a git clone and am finding it very confusing to even run the repo version of fff. After "python setup.py build", trying to retrieve a fic gets some kind of cache configuration error (I ran cli.py with -i example.ini). I can probably debug this but it would be helpful to have some simple instructions (maybe in the faq) for running this way. My simple workaround for now will probably be to use "setup.py install" in a separate VM to run my modified versions. |
05-07-2021, 09:34 PM | #5904 |
Plugin Developer
Posts: 6,307
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
|
05-07-2021, 09:44 PM | #5905 |
Junior Member
Posts: 8
Karma: 10
Join Date: May 2021
Device: none
|
Thanks, no idea about ao3 single page then. I guess I should break down and enroll a microsoft (i.e. github) account for CLI stuff.
I used the setup.py install approach in a VM to run debugging builds and that worked. Interestingly I was able to download from ffnet on that VM while I hadn't been able to from several other VM's. A very minor suggestion: at line 447 of fetcher.py where there is a debug message reporting the response code, could you also include the length of the response content? I always find that useful to indicate whether a web retriever is seeing the right thing. To look into the IAUA error I'll have to dump the content as well, but before I can do that I'll have to reproduce it. I'm a good python coder but I don't know the packaging conventions and so on either. I wonder if there is a good one-stop place to read about those. |
05-08-2021, 09:44 AM | #5906 |
Zealot
Posts: 106
Karma: 4486
Join Date: Mar 2020
Location: Netherlands
Device: i-pad
|
@JimmXinu - thank for the help the other day, I already had in in my .ini file but once again I had figured the order of things the other way around. Either way it's working.
New thing though, I've been fiddling a bit with extra valid entries based om some stuff I read on this forum as well as on Github. I've gotten quite far but I'm running into the following: Same story: https://archiveofourown.org/works/28121997 Using the following code: Code:
## [defaults] section applies to all formats and sites but may be overridden at several levels. [defaults] ##Chrome Cache Browser_cache_path:C:\Users\kombr\AppData\Local\Google\Chrome\User Data\Default\Cache is_adult:true include_titlepage: true [www.archiveofourown.org] username:*** password:*** use_view_full_work:true add_to_extra_valid_entries:,ships2chars,relationships,crossovers include_in_ships2chars:ships include_in_relationships:ships include_in_crossovers:genre ## Tells which tags from the site to include in calibre include_subject_tags:extratags include_in_characters:characters,ships2chars include_in_genre:freeformtags, ao3categories,crossovers include_in_category:fandoms add_to_replace_metadata: ships2chars=>[ ]*/[ ]*=>/ ships2chars=>[ ]*&[ ]*=>/ ships2chars=>([^/]+)/([^/]+)/([^/]+)/(.+)=>\1\,\2\,\3\,\4 ships2chars=>([^/]+)/([^/]+)/(.+)=>\1\,\2\,\3 ships2chars=>([^/]+)/(.+)=>\1\,\2 add_to_include_subject_tags:,tagsfromtitle.SPLIT ## Tells which tags from the site to include on the titlepage titlepage_entries: series,category,genre,characters,status,datePublished,dateUpdated,rating,numChapters,numWords,site,description ## Tells which tags goes to which customs column custom_columns_settings: genre=>#genre,a category=>#show,a crossovers=>#show,a crossovers=>#crossover,a characters=>#m_char,a relationships=>#m_pair,a ## Excludes entire tags before being processed further exclude_metadata_pre: freeformtags,genre==Other Additional Tags to Be Added warnings==Creator Chose Not To Use Archive Warnings warnings==No Archive Warnings Apply replace_metadata: ## Regular cleanup ## Replaces & with / in 'ships' and 'genre' genre,category,characters=> & =>/ genre,category,characters=>&=>/ ships,genre,category,characters=> \| =>/ Code:
genre=>^Minor crossover with Private Practice characters$=>Crossover.Private Practice genre=>^Minor crossover with Grey's Anatomy character=>Crossover.Grey's Anatomy So far so good, but here's what's getting to me, from the extra valid entry I only want the ones with "Crossover" in then, all the other I want to toss, and I thought below would work, but unfortunately it doesn't. Code:
include_metadata_post: crossovers=>.*Crossover.* |
05-08-2021, 02:33 PM | #5907 |
Junior Member
Posts: 4
Karma: 10
Join Date: May 2021
Device: none
|
Hi, I've tried downloading fics from spikeluver.com but all I get is: 'NoneType' object has no attribute 'a'
Example fic: https://spikeluver.com/SpuffyRealm/v...y.php?sid=1424 |
05-08-2021, 05:52 PM | #5908 | |
Plugin Developer
Posts: 6,307
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
You have Browser_cache_path instead of browser_cache_path. Unrelated to current problem.
I don't know exactly what was going wrong, but this works for me: Spoiler:
Quote:
FYI, I have limited free time until mid-next week; expect slow responses. |
|
05-09-2021, 02:18 AM | #5909 |
Custom User Title
Posts: 8,557
Karma: 61170925
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Question:
I run from source and noticed this in console: Code:
FFF: DEBUG: 2021-05-09 03:15:16,091: calibre_plugins.fanficfare_plugin.fff_plugin(2324): No metadata value for "N", setting custom column(#read) literally to N. Also, aside from watching the console, is there any way to see what chapter a job is currently on? Last edited by ownedbycats; 05-09-2021 at 02:39 AM. |
05-09-2021, 08:44 AM | #5910 |
Junior Member
Posts: 4
Karma: 10
Join Date: May 2021
Device: none
|
|
Tags |
fanfiction |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 AM |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 492 | 10-25-2022 08:13 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 |