From 3f52734da23006f8c22482e849992bd789d32be2 Mon Sep 17 00:00:00 2001 From: chocolatechipcats <47759676+chocolatechipcats@users.noreply.github.com> Date: Tue, 4 Apr 2023 23:32:02 -0300 Subject: [PATCH] Replacing orphan_account regex --- calibre-plugin/plugin-defaults.ini | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/calibre-plugin/plugin-defaults.ini b/calibre-plugin/plugin-defaults.ini index 0270d098..88463d89 100644 --- a/calibre-plugin/plugin-defaults.ini +++ b/calibre-plugin/plugin-defaults.ini @@ -1578,9 +1578,10 @@ include_in_chapterstotal:chapterslashtotal.NOREPL add_to_replace_metadata: chapterstotal=>^([0-9])+/(.+)$=>\2 - ## The link to orphan_account just leads to a 404 page. + ## Due to a bug with Archive of Our Own, the + ## link to orphan_account just leads to a 404 page. ## This replaces it with a link to the AO3 homepage. - authorUrl=>(https://archiveofourown\.org)/users/orphan_account/pseuds/orphan_account=>\1 + ## authorUrl=>(/users/orphan_account)/pseuds/.*$=>\1 ## adds to titlepage_entries instead of replacing it. #extra_titlepage_entries: fandoms,freeformtags,ao3categories,comments,chapterslashtotal,chapterstotal,kudos,hits,bookmarks,bookmarked,bookmarktags,bookmarksummary,series01HTML,series02HTML,series03HTML,byline