app0.scala
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Mon, 03 Dec 2012 15:35:27 +0000
changeset 85 1a4065f965fb
parent 3 df423d3b7fa1
permissions -rw-r--r--
added packages

import io.Source

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