I had to change the function over and over to cover different use cases, invalid characters separating the URL’s or different use case of domain using AMP differently : amp.subdomain or /amp/ Google News redirect is redirecting 2 URL’s on it’s redirect, one normal and one AMP version.So I went and after 3h of work, iteration after iteration I finally covered all the use cases to get this done.
I’m not a developer, I dabble with Python and had a working python function to do just that but I wanted to incorporate this in my existing workflow and work with google news RSS + N8N