The simplest script I could find that finds all links within a webpage