app0.scala
author Christian Urban <urbanc@in.tum.de>
Wed, 14 Nov 2012 08:46:00 +0000
changeset 63 dff4b062a8a9
parent 3 df423d3b7fa1
permissions -rw-r--r--
added

import io.Source

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