View Single Post
Old 03-14-2021, 06:49 AM   #5655
ackomb
Zealot
ackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura about
 
Posts: 106
Karma: 4486
Join Date: Mar 2020
Location: Netherlands
Device: i-pad
I Actually don't have that problem, this is the code I've used.
Not sure if it helps or not.

Code:
## [defaults] section applies to all formats and sites but may be overridden at several levels.  
[defaults]
is_adult:true
include_titlepage: true

## Add this to genre if there's more than one category.
add_genre_when_multi_category: #Crossover

[www.archiveofourown.org] 
username:***
password:***

use_view_full_work:true 

add_to_extra_valid_entries:,ships2chars
#include_in_ships2chars:ships.NOREPL

add_to_replace_metadata:
 ships2chars=>[ ]*/[ ]*=>/
 ships2chars=>[ ]*&[ ]*=>/
 ships2chars=>([^/]+)/([^/]+)/([^/]+)/(.+)=>\1\,\2\,\3\,\4
 ships2chars=>([^/]+)/([^/]+)/(.+)=>\1\,\2\,\3
 ships2chars=>([^/]+)/(.+)=>\1\,\2
 include_in_characters:characters,ships2chars

## Tells which tags from the site to include in calibre
include_subject_tags: extratags, genre, category, characters, ships
include_in_genre: freeformtags, ao3categories
include_in_category: fandoms

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
 characters=>#m_char,a
 ships=>#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'
 ships,genre,category,characters=> & =>/
 ships,genre,category,characters=>&=>/ 
 ships,genre,category,characters=> \| =>/
 
 
 characters=>\s(\(Elder Scrolls\)|\(Fallout\)|\(Mass Effect\)|\(Skyrim\))$=>

## Do not overwrite this when updating ships, is ment to be at the end!!!=============================================================================================


exclude_metadata_post:
#So far nothing


## This section will override anything in the system defaults or other
## sections here.
[overrides]
## default varies by site.  Set true here to force all sites to collect series.
collect_series: true
extratags:
Attached Thumbnails
Click image for larger version

Name:	Knipsel.PNG
Views:	115
Size:	54.3 KB
ID:	185944  
ackomb is offline   Reply With Quote