Scala based crawler to extract links from html pages