I don’t know if this is the best solution.
For each header you get, check for links using regex and extract it.