I recently noticed some wrong URLs on my website and after investigating I found that the bot is linking incorrect URLs for some AO3 Authors. I looked through your code and found that the XPath you are using can return multiple Authors (and then concatenate them) if the story has been translated. I made the XPath a bit more specific to target the original Author only.
Hi, Creator of HPFanfiction Recommender here.
I recently noticed some wrong URLs on my website and after investigating I found that the bot is linking incorrect URLs for some AO3 Authors. I looked through your code and found that the XPath you are using can return multiple Authors (and then concatenate them) if the story has been translated. I made the XPath a bit more specific to target the original Author only.
Example: The Hogwarts Potions Professor - linked in the following comment