![]() |
#7756 | ||
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,987
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
Quote:
![]() Last edited by ownedbycats; 11-17-2022 at 07:19 PM. |
||
![]() |
![]() |
![]() |
#7757 | |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jul 2020
Device: none
|
Quote:
Code:
Traceback (most recent call last):
File "calibre_plugins.fanficfare_plugin.dialogs", line 721, in do_loop
self.foreach_function(book)
File "calibre_plugins.fanficfare_plugin.fff_plugin", line 1343, in prep_download_loop
story = self.get_story_metadata_only(adapter)
File "calibre_plugins.fanficfare_plugin.fff_plugin", line 1215, in get_story_metadata_only
adapter.getStoryMetadataOnly(get_cover=False)
File "/Users/partwalk/Library/Preferences/calibre/plugins/FanFicFare.zip/fanficfare/adapters/base_adapter.py", line 320, in getStoryMetadataOnly
self.doExtractChapterUrlsAndMetadata(get_cover=get_cover)
File "/Users/partwalk/Library/Preferences/calibre/plugins/FanFicFare.zip/fanficfare/adapters/adapter_adultfanfictionorg.py", line 221, in doExtractChapterUrlsAndMetadata
for i, chapter in enumerate(chapters.findAll('a')):
AttributeError: 'NoneType' object has no attribute 'findAll'
|
|
![]() |
![]() |
Advert | |
|
![]() |
#7758 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Are you sure have the most recent test version? (see link in my sig) Because that's exactly what changed...
Because if you do, we'll have to try things like a special build that dumps the page contents to log and you sending the log to me off thread. Quote:
|
|
![]() |
![]() |
![]() |
#7759 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jul 2020
Device: none
|
It's not the latest test version. I'd said it was the latest release per Github v.4.17.0 with the changes you made in September. I see now you've made further changes in October that aren't in this release. That's cool, I'll wait for the release of v.4.18.0 before trying again. Thanks for your help.
|
![]() |
![]() |
![]() |
#7760 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,987
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I ran into an issue with my collection-series.
![]() One of my fics (mature, so PM'ing link) has no series, but one collection that does not match my include_metadata: Code:
## Copy selected collections to series include_in_series:series,collections include_metadata_pre: collections=~(N7 Exchange|N7 Exchange \d{4}|Spectre Requisitions \d{4}|Spec Recs|Spec Recs \d{4})&&series!~^.*$ It probably doesn't matter, but I also have a never_make_cover:true for the url. Any idea what is happening? Last edited by ownedbycats; 11-19-2022 at 08:19 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#7761 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
(It should appear in the job log: "Skipping include_metadata_pre key(collections) value(Fandom_Nerd123_MaleShepard_Stories) line(collections=~(N7 Exchange|N7 Exchange \d{4}|Spectre Requisitions \d{4}|Spec Recs|Spec Recs \d{4})&&series!~^.*$) to prevent infinite recursion.") After removing &&series!~^.*, it works as expected for me blocking 'Fandom_Nerd123_MaleShepard_Stories'. But if you already did that, it must be something else. Perhaps a different include line matching, or the setting not being in the correct section or overridden, etc. |
|
![]() |
![]() |
![]() |
#7762 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,987
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I tried again without the series modifier, this time using 'update always' instead of 'update Calibre metadata' and it worked. I'm not sure why that would make the difference.
![]() |
![]() |
![]() |
![]() |
#7763 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,987
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
One other difference: before my last test, I had deleted the existing series value from Calibre. Is it possible that 'update metadata' could've returned a "undefined {don't overwrite existing values}" instead of a "undefined {overwrite existing values}"? I'm not even sure if it's possible.
|
![]() |
![]() |
![]() |
#7764 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,987
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Question: Some AO3 authors include both "CharacterA/CharacterB" and "CharacterA & CharacterB."
Has anybody made a in/exclude_metadata regex + conditional that can strip out the later without making separate lines for every possible ship? (Is it even possible?) Last edited by ownedbycats; 11-20-2022 at 09:48 AM. |
![]() |
![]() |
![]() |
#7765 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
There are subtle but important differences between the FFF metadata series and the Calibre standard column Series. I assumed you were talking about the former. |
|
![]() |
![]() |
![]() |
#7766 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New Version Released
Version 4.18.0 - 2022-11-21 - Update metadata caching with dependency invalidating - Still allow images with use_flaresolverr_proxy if use_browser_cache - Support classic AND modern (and minimalist) theme for storiesonline, finestories and scifistories - thanks, mvlcek - adapter_tenhawkpresents: Change site to t.evancurrie.ca - tenhawk domain semi-broken - remove_class_chapter missing from config lists - Remove Calibre Update Cover option entirely(was deprecated) #878 - adapter_adultfanfictionorg: Fixes for site changes, thanks cryosaur. |
![]() |
![]() |
![]() |
#7767 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,987
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#7768 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,987
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Regex question:
Code:
[https://archiveofourown.org/works/9652229] strip_chapter_numbers: true chapter_title_strip_pattern:(Ch[0-9]+:|Chapter [0-9]+, Part [0-9]+|Ch. [0-9]+|Ch[0-9]+) EDIT: Might be easier to just remove FFF's added numbering? Last edited by ownedbycats; 11-22-2022 at 09:04 PM. |
![]() |
![]() |
![]() |
#7769 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,987
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Also, is it intended/known that copying from a browser into the config also copies the formatting? I was adding comments to know what fic each of the story sections is for.
EDIT: Also, what happens if there's more than one section for a story? I just noticed this happened but apparently it didn't get any errors (and somehow I didn't notice). Last edited by ownedbycats; 11-22-2022 at 09:18 PM. |
![]() |
![]() |
![]() |
#7770 | ||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Here's a more general regexp that matches all your examples: Code:
Ch(apter)?[ \.]*[0-9]+(, Part [0-9]+)? Code:
## add_chapter_numbers can be true, false or toconly
## (Note number is not added when there's only one chapter.)
add_chapter_numbers:false
Quote:
See https://github.com/JimmXinu/FanFicFa...cated-sections |
||
![]() |
![]() |
![]() |
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 |