app0.scala
author Christian Urban <urbanc@in.tum.de>
Fri, 05 Oct 2012 16:26:04 +0100 (2012-10-05)
changeset 21 4e5092ab450a
parent 3 df423d3b7fa1
permissions -rw-r--r--
one more case
import io.Source

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