app0.scala
author Christian Urban <urbanc@in.tum.de>
Sat, 20 Oct 2012 16:44:39 +0100
changeset 42 5529cfb2a81e
parent 3 df423d3b7fa1
permissions -rw-r--r--
tuned

import io.Source

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