@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=> \| =>/
then there is a bunch of changing characters, genres etc. I won't spam you with that, main thing to get out of it is that I amend the tags:
Code:
genre=>^Minor crossover with Private Practice characters$=>Crossover.Private Practice
genre=>^Minor crossover with Grey's Anatomy character=>Crossover.Grey's Anatomy
And added them to categories for which I use a customs column "#show"
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.*
It's probably some stupid thing again I'm overlooking or I'm just interpreting the use of this code wrong. Either way,