app0.scala
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Sat, 24 Nov 2012 14:58:27 +0000
changeset 77 49c0beef79a1
parent 3 df423d3b7fa1
permissions -rw-r--r--
added

import io.Source

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