app0.scala
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Mon, 19 Nov 2012 14:18:42 +0000
changeset 64 2d625418c011
parent 3 df423d3b7fa1
permissions -rw-r--r--
added everything

import io.Source

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