app0.scala
author Christian Urban <urbanc@in.tum.de>
Wed, 26 Sep 2012 08:49:24 +0100
changeset 5 f3d92595abe7
parent 3 df423d3b7fa1
permissions -rw-r--r--
tuned

import io.Source

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