Added rescue clause to main crawl method
Changed puts to out.puts