app0.scala
author Christian Urban <urbanc@in.tum.de>
Wed, 31 Oct 2012 08:42:14 +0000
changeset 52 0874de7bdbd8
parent 3 df423d3b7fa1
permissions -rw-r--r--
tuned

import io.Source

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