app0.scala
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Wed, 28 Nov 2012 08:28:26 +0000
changeset 84 719fd738d2a0
parent 3 df423d3b7fa1
permissions -rw-r--r--
tuned

import io.Source

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