progs/app0.scala
author Christian Urban <urbanc@in.tum.de>
Mon, 24 Sep 2018 11:05:39 +0100
changeset 558 447ed6c7cdad
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
}