progs/app0.scala
author Christian Urban <urbanc@in.tum.de>
Tue, 26 Sep 2017 12:19:54 +0100
changeset 500 c502933be072
parent 254 dcd4688690ce
child 559 db5cb071644d
permissions -rw-r--r--
updated

import io.Source

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