added feature for ignoring links using regular expressions
added feature for dumping links to a file