script to extract hyperlinks from html file