app0.scala
author Christian Urban <urbanc@in.tum.de>
Thu, 04 Oct 2012 09:07:33 +0100
changeset 18 d48cfc286cb1
parent 3 df423d3b7fa1
permissions -rw-r--r--
added

import io.Source

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