Merged the get_raw_links function into the linksParser function