Those aren't links.. do you want to extract the line items content? Take a look at http://stackoverflow.com/questions/3577641/how-do-you-parse-and-process-html-xml-in-php and `file_put_contents`.
– chris85Nov 03 '15 at 04:20
Look at the linked thread it should show you how you can parse HTML/XML. Your question is unclear as your comment differs from your questions comment.
– chris85Nov 03 '15 at 04:24
– july77 Nov 03 '15 at 04:22