Extracting data from multiple links with regex and custom headers