View Single Post
Old 01-06-2016, 08:01 AM   #898
firefoxxy
Zealot
firefoxxy began at the beginning.
 
Posts: 105
Karma: 10
Join Date: Nov 2012
Location: Germany
Device: Kobo Libra 2
Hello!

It's me again. I have (again) trouble with metadata when downloading a story. The peronal.ini is set to change the ship 'Harry Potter & and Severus Snape' to 'Harry & Severus' when downloading a story from AO3.

Today I tried again - and it doesn't work any more. There is no ship at all. Well to be exact, the ship is changed to 'Harry'.

I cannot see where the fault is, so I included all the general settings and those for AO3. Sorry, it's quite long. I left some old settings in there (commented-out) because I thought that I might need them again. Ugh. It's cluttered, but I can't do it any better... Sorry, again.
Spoiler:
Code:
is_adult:true

add_to_custom_columns_settings:
 ships=>#ships
## this is for the generate cover plug-in

generate_cover_settings:
 ${category}=>Bleach=>Bleach
 ${category}=>Fruits Basket=>Fruits Basket
 ${category}=>Harry Potter Works=>Harry Potter
 ${category}=>Loveless=>Loveless
 ${category}=>Marvel=>Marvel
 ${category}=>Naruto=>Naruto
 ${category}=>Ouran High School Host Club=>Ouran High School Host Club
 ${category}=>Vampire Knight=>Vampire Knight
 ${#ships}=>Naruto/Sasuke=>Naruto NaruSasu
 ${#ships}=>Kakashi/Sasuke=>Naruto Kaka&Sasu
 ${#ships}=>Sakura/Sasuke=>Naruto SakuSasu
 ${#ships}=>Kakashi/Sakura=>Naruto KakaSaku
 ${#ships}=>Hinata/Sasuke=>Naruto HinaSasu
 ${#ships}=>Itachi&Sasuke=>Naruto Brothers kids
 ${#ships}=>Kakashi&Sasuke=>Naruto Kaka&Sasu paternal
 ${#ships}=>Iruka/Kakashi=>Naruto KakaIruka hug
 ${#ships}=>Naruto&Sasuke=>Naruto NaruSasu Kids shadows

[epub]
include_images:true
keep_summary_html:true
make_firstimage_cover:true
image_max_size: 580, 725

[archiveofourown.org]
username:
password:
include_in_characters: characters, ships
include_in_genre: genre,warnings,freeformtags
sort_ships:true
add_to_custom_columns_settings:
 kudos=>#kudos
 hits=>#hits
 comments=>#reviews
exclude_metadata_pre:
 genre==Alternate Universe - Canon Divergence
 ships,characters,genre,freeformtags=~Other (Additional|Character|Relationship) Tags to Be Added
 warnings==Creator Chose Not To Use Archive Warnings
 warnings==No Archive Warnings Apply
 genre=~.*-centric
 ships=~^Clint Barton & Natasha Romano.*$
 ships=~Bruce Banner & Tony Stark
 ships=~Pepper Potts & Tony Stark
 genre==Avengers Tower
 genre==Canon Compliant
replace_metadata:
 category=> (- All Media Types|- Fandom|\(Movies\)|\(Movie [0-9]+\)|\(Comics\)|\(TV\))$=>
 characters=>\(mentions of\) =>
 characters=> \([Ch]haracter\)=>
 characters=> ?\((cameo|briefly|if you squint|sort of)\)=>
 characters=> - Character=>
 characters=>^Other mentions$=>
 ships=>(.*)[/&](.*) \(?[Ff]riendship(?: only)\)?=>\1 & \2
 ships=> - Relationship=>
## above: general clean-up
 category=>.*Harry Potter.*=>Harry Potter Works
 category=>.*Marvel.*|.*Avengers.*|.*Iron Man.*|.*Thor.*|.*Loki.*|^Captain America.*=>Marvel Universe
## characters=>([^/]+)/([^/]+)/(.+)=>\1\,\2\,\3
## characters=>([^/]+)/(.+)=>\1\,\2
 characters=>^Harry.*$=>Harry Potter
 characters=>^Severus.*$=>Severus Snape
 characters=>^Hermione.*$=>Hermione Granger
 characters=>^Remus.*$=>Remus Lupin
 characters=>^Draco.*$=>Draco Malfoy
 characters=>^Ron.*$=>Ron Weasley
 characters=>^Lucius.*$=>Lucius Malfoy
 characters=>^Narcissa.*$=>Narcissa Malfoy
 characters=>^(Voldemort.*|Tom Riddle.*)$=>Tom Riddle Jr.
 characters=>^Loki.*$=>Loki
 characters=>^Tony.*$=>Tony Stark
 characters=>^Thor.*$=>Thor
 characters=>^Frigga.*$=>Frigga
 characters=>^Odin.*$=>Odin
 characters=>^Sif.*$=>Sif
 characters=>^Fandral.*$=>Fandral
 characters=>^Volstagg.*$=>Volstagg
 characters=>^Hogun.*$=>Hogun
 characters=>^Jarvis.*$=>Jarvis
 characters=>^Fenri[sr].*$=>Fenrir
 characters=>^Sleipnir.*$=>Sleipnir
 characters=>^Hel.*$=>Hel
 characters=>^J(o|ö)rmungand.*$=>Jörmungand
 characters=>^Helblindi.*$=>Helblindi
 characters=>^Byleistr.*$=>Byleistr
 characters=>^Laufey.*$=>Laufey
 characters=>^F.rbauti.*$=>Farbauti
 characters=>^Jane.*$=>Jane Foster
 characters=>^Heimdall.*$=>Heimdall
 characters=>^Thanos.*$=>Thanos
 characters=>^The Other.*$=>The Other
 characters=>^Sigyn.*$=>Sigyn
 characters=>^Natasha.*$=>Natasha Romanov
 characters=>^Clint.*$=>Clint Barton
 characters=>^Steve.*$=>Steve Rogers
 characters=>^Pepper.*$=>Pepper Potts
 characters=>^Peter Parker.*$=>Peter Parker
 characters=>^Amora.*$=>Amora
 characters=>^Wanda.*$=>Wanda Maximoff
 characters=>^(James)?(Bucky.*|.*Barnes)$=>Bucky Barnes
 characters=>^Betty.*$=>Betty Ross
 characters=>^Bruce.*$=>Bruce Banner
 characters=>^Phil.*$=>Phil Coulson
 characters=>^Angrbo.*$=>Angrboda
 characters=>^Balde?r.*$=>Baldr
 characters=>^(OC.*|OFC|OMC|Original Characters?)$=>OC
 characters=>^(Haruno )?Sakura$=>Sakura Haruno
 characters=>^(Hyuuga )?Hinata$=>Hinata Hyuuga
 characters=>^(Uchiha )?Sasuke$=>Sasuke Uchiha
 characters=>^(Uchiha )?Itachi$=>Itachi Uchiha
 characters=>^Uzumaki Naruto$=>Naruto Uzumaki
 characters=>^(Hatake )?Kakashi$=>Kakashi Hatake
 characters=>^Namikaze Minato$=>Minato Namikaze
 characters=>^Uchiha Faugaku$=>Fugaku Uchiha
 characters=>^Uchiha Mikoto$=>Mikoto Uchiha
 characters=>^Uzumaki Kushina$=>Kushina Uzumaki
 characters=>^Sai (Naruto)$=>Sai
 ships=>(?:^|(?<=/))([^ ,:]+)[^/]*(?=/|$)=>\1
## (?:^|(?<=/)) non-capturing grouping of start-of-line or lookbehind matching /
## ([^ ,:]+) one or more chars until the first space, comma or colon
## [^/]* zero or more chars until /
## (?=/|$) lookahead matching / or end-of-line
 ships=>^James/Steve$=>Bucky/Steve
 ships=>Loki/ Tony Stark=>Loki/Tony
 ships=>^ Tony Stark/Loki$=>Loki/Tony
 ships=>^Harry Potter &amp; Severus Snape$=>Harry &amp; Severus
 ships=>^Uchiha Sasuke/Uzumaki Naruto$=>Naruto/Sasuke
 ships=>^Frigga &amp; Loki.*$=>Frigga &amp; Loki
 ships=>^(Loki &amp; Thor.*|Thor.* &amp; Loki)$=>Loki &amp; Thor
 ships=>^Loki &amp; Tony.*$=>Loki &amp; Tony
 ships=>^Loki &amp; Steve.*$=>Loki &amp; Steve
 ships=>^Loki &amp; Pepper.*$=>Loki &amp; Pepper
 ships,genre=>^[fF]rost[iI]ron( - [fF]reeform)?$=>Loki/Tony
 genre=>[hH]urt/[cC]omfort$=>Hurt-Comfort
 genre=>^[eE]motional [hH]urt-[cC]omfort$=>Hurt-Comfort
 genre=>^.* [hH]as [iI]ssues$=>Drama
 genre=>(Canon-Typical|Graphic Depictions Of) Violence=>Violence
 genre=>^[mM]emory [lL]oss$=>Amnesia
 genre=>^J[oö]tunn?(\s|!)Loki$=>Jötunn!Loki
 genre=>^Intersex Loki$=>Intersex!Loki
 genre=>^[gG]ood Loki$=>Good!Loki
 genre=>^[pP]rotective.*$=>Protectiveness
 genre=>^[fF]luff and (.+)=>Fluff\,\1
 genre=>^[eE]ventual [fF]luff=>Fluff
 genre=>^[aA]ngst (and|with( a)?) [hH]appy [eE]nding$=>Angst\,Happy Ending
 genre=>^[aA]ngst and [fF]eels$=>Angst\,Feels
 genre=>^[aA]ngst and [fF]luff and [sS]mut$=>Angst\,Fluff\,smut
 genre=>^(Loki.*|Tony.*|Thor.*) [fF]eels$=>Feels
 genre=>^(Loki.*|Tony.*|Thor.*) [aA]ngst$=>Angst
 genre=>^[eE]ventual [sS]mut=>smut
 genre=>^Alpha/(Beta.*|Omega.*)$=>Omega Verse
 genre=>^AU( [uU]niverse)?$=>Alternate Universe
 genre=>^Past (.*)?[aA]buse$=>Abuse
 genre=>[hH]umor=>Humour
 genre=>^Complete$=>Completed
 genre=>^[aA]ftermath of ([sS]exual [aA]ssault|[vV]iolence|[wW]ar)$=>Aftermath of Trauma
 genre=>^[fF]emale(\s|!)Loki.*$=>Female Loki
 genre=>^[nN]orse [rR]eligion &amp; [lL]ore$=>Norse Mythology
 genre=>^[dD]omestic [fF]luff$=>Fluff
 genre=>^[pP]ast Torture$=>Aftermath of Torture
 genre=>^Post-Traumatic Stress Disorder - PTSD$=>PTSD
 genre=>^Alcohol Abuse$=>Substance Abuse


Well...
I really appreciate, if anyone would brave this cluster of code to help me out. Or you could point me to the appropriate place where I should ask for help or look things up. Thank you!
firefoxxy is offline   Reply With Quote