---
title: Fix to 'Fetch Data from AO3 Link without fandom in tags'
description: Fix for AO3 link data extraction without fandom tags in version 2.0. Step-by-step guide to implement the code.
---

[![logo](https://www.huurreauthor.com/hs-fs/hubfs/logo%20ver%204%20wide%20and%20simple.png?width=500&height=130&name=logo%20ver%204%20wide%20and%20simple.png "logo")](https://www.huurreauthor.com/)

- [Home](https://www.huurreauthor.com)
- [Download](https://www.huurreauthor.com/download)
- [News & Updates](https://www.huurreauthor.com/news)
- [Help](https://www.huurreauthor.com/help)
- [FAQ](https://www.huurreauthor.com/faq)
- [Contact](https://www.huurreauthor.com/contact)

- [Home](https://www.huurreauthor.com)
- [Download](https://www.huurreauthor.com/download)
- [News & Updates](https://www.huurreauthor.com/news)
- [Help](https://www.huurreauthor.com/help)
- [FAQ](https://www.huurreauthor.com/faq)
- [Contact](https://www.huurreauthor.com/contact)

 Posted By:

[Huurre](https://www.huurreauthor.com/news/author/huurre) 

 Dec 31, 2024 8:10:58 PM

# Fix to 'Fetch Data from AO3 Link without fandom in tags'

[Fix](https://www.huurreauthor.com/news/tag/fix)

I knew that the release of version 2.0 would not be as straightforward as I wish but thankfully first fixes were found by the first user and I managed to fix it so quickly that hopefully it doesn't affect to anyone else.

 

#### Fix to the problem where Fetch Data from AO3 Link without fandom in tags left the fandom still in them

 

Honestly, I have no idea where this critical line of code disappeared at one point, but it had done that. These fixes can be found already in the public files so it's possible to go grab new copy of it, but I will make this as clear and easy as possible.

 

This is the line of code that needs to be added to the script:

`extractedText = extractedText.replace(/\s*\([^)]*\)/g, "").trim();`

 

How to add this?

1. Open your file.

2. Choose Extensions > Apps Script from the top.

![](https://www.huurreauthor.com/hs-fs/hubfs/image-png.png?width=980&height=335&name=image-png.png)

It opens a new window which can be a bit overwhelming at first.

3. Choose custom menu.gs from the left side panel.

![](https://www.huurreauthor.com/hs-fs/hubfs/image-png-1.png?width=524&height=218&name=image-png-1.png)

4. Find row 62 with the code `extractedText = items.join(", ");`

5. Place the cursor at the end of that line and press enter, creating new line.

6. Copy & paste this code to the new line:

`extractedText = extractedText.replace(/\s*\([^)]*\)/g, "").trim();`

7. Save the script as shown in the picture below.

![](https://www.huurreauthor.com/hs-fs/hubfs/image-png-2.png?width=575&height=425&name=image-png-2.png)

8. Close the tab.

 

Congratulations! You might have touched to the Apps Scripts for the first time ever! :) But jokes aside: I will be giving editing options in the same manner whenever I have time to create them.

 

#### Other option to do this

1. Follow the steps 1, 2 and 3.

2. Delete everything from that script (custom menu.gs).

3. Go to [this link](https://drive.google.com/file/d/1PMOouR7o5BvMNbHwawIaf_0vC8D03AEP/view?usp=sharing) (txt file containing the whole script in Google Drive).

4. Copy and paste it to the script file where you just deleted all the text.

5. Save the script as shown in the picture below.

![](https://www.huurreauthor.com/hs-fs/hubfs/image-png-2.png?width=575&height=425&name=image-png-2.png)

6. Close the tab.

 

See also video below to see every step as you go.

 

 

I'm truly sorry that this happened! I think I messed up with something when I was trying few different options to *maybe* add to the code earlier, before giving the latest beta version to the last tester and we didn't catch it, but better late than never! Many might not care about this, especially if they are reading multiple fandoms, but as I read basically just one, I personally need it for a cleaner look.

 

Similar additions to clean the look for your liking are coming later, for example:

- Way to combine multiple different ways to tag original characters
- Way to edit almost any tag to fit better your liking, for example: 
    - Sane Tom Riddle & Sane Voldemort cleared to the same tag
    - Separating tags like "Fluff and Angst" to their own tags

These are still a work in progress since the release of this version almost got late when I was trying to get these work, but I will make these happen, sooner or later, be it weeks or months!

Share this article:

- <http://www.facebook.com/share.php?u=https://www.huurreauthor.com/news/fix-to-fetch-data-from-ao3-link-without-fandom-in-tags>
- <https://twitter.com/share?text=Fix%20to%20'Fetch%20Data%20from%20AO3%20Link%20without%20fandom%20in%20tags'&url=https://www.huurreauthor.com/news/fix-to-fetch-data-from-ao3-link-without-fandom-in-tags&hashtags=weareawesome&via=bluleadz>
- <http://www.linkedin.com/shareArticle?mini=true&url=https://www.huurreauthor.com/news/fix-to-fetch-data-from-ao3-link-without-fandom-in-tags>
- <https://www.pinterest.com/pin/create/button/?url=https://www.huurreauthor.com/news/fix-to-fetch-data-from-ao3-link-without-fandom-in-tags&media=>
- [mailto:?subject='https://www.huurreauthor.com/news/fix-to-fetch-data-from-ao3-link-without-fandom-in-tags'](mailto:?subject='https://www.huurreauthor.com/news/fix-to-fetch-data-from-ao3-link-without-fandom-in-tags')

## Read On

### [Fix for All Time Statistics](https://www.huurreauthor.com/news/fix-for-all-time-statistics)

Bug after bug after bug. I am really thankful for the Discord Server where people have reported...

### [Fix for Home tab](https://www.huurreauthor.com/news/fix-for-home-tab)

Back again, with the next fixes! I'm ashamed that this escaped from me because it was so clear and...

### [AO3 script doesn't work with Mature/Explicit/Not Rated fics](https://www.huurreauthor.com/news/ao3-script-doesnt-work-with-mature/explicit/not-rated-fics)

I don't usually want to write a blog post to only inform about a bug, but this one is a big one and...

[![logo ver 4 wide and simple WHITE](https://www.huurreauthor.com/hs-fs/hubfs/logo%20ver%204%20wide%20and%20simple%20WHITE.png?width=500&height=130&name=logo%20ver%204%20wide%20and%20simple%20WHITE.png "logo ver 4 wide and simple WHITE")](http://huurreauthor.com)

- [Discord Server for Huurre's Fanfiction Reading Log](https://discord.gg/2CTuh3rQXG)
- [Main Tumblr](https://huurreauthor.tumblr.com/)
- [Huurre's Fanfiction Reading Log in Tumblr](https://huurrefanfictionreadinglog.tumblr.com/)
- [Archive of Our Own](https://archiveofourown.org/users/Huurre/profile)

[Privacy Policy](https://www.huurreauthor.com/privacy-policy)

© 2024 - 2026 Huurre - All rights reserved.

Social Links:

[Follow us on Twitter](https://www.twitter.com/huurreauthor) [Follow us on Instagram](https://www.instagram.com/huurreauthor) [Follow us on Facebook](mailto:huurreauthor@gmail.com)

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Huurre",
    "url" : "https://www.huurreauthor.com/news/author/huurre"
  },
  "dateModified" : "2025-02-23T19:43:49.773Z",
  "datePublished" : "2025-01-01T01:10:58.000Z",
  "headline" : "Fix to 'Fetch Data from AO3 Link without fandom in tags'",
  "mainEntityOfPage" : {
    "@id" : "https://www.huurreauthor.com/news/fix-to-fetch-data-from-ao3-link-without-fandom-in-tags",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://www.huurreauthor.com/hubfs/favicon%201800px.png"
    }
  }
}
```