app0.scala
author Christian Urban <urbanc@in.tum.de>
Wed, 17 Oct 2012 00:58:06 +0100
changeset 35 487b0c0aef75
parent 3 df423d3b7fa1
permissions -rw-r--r--
tuned

import io.Source

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