app0.scala
author Christian Urban <urbanc@in.tum.de>
Wed, 10 Oct 2012 08:39:24 +0100
changeset 26 06be91bbb1cd
parent 3 df423d3b7fa1
permissions -rw-r--r--
tuned

import io.Source

def get_page(url: String) : String = { 
  Source.fromURL(url).take(10000).mkString