app0.scala
author Christian Urban <urbanc@in.tum.de>
Wed, 26 Sep 2012 08:26:02 +0100
changeset 4 27c0abdb39d5
parent 3 df423d3b7fa1
permissions -rw-r--r--
tuned

import io.Source

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