Why is this needed? It would be better if we can use `cheerio` to replace the `href` of links instead of using regex