progs/app0.scala
author Christian Urban <urbanc@in.tum.de>
Mon, 22 Aug 2016 09:14:22 +0200
changeset 413 b7221df9662a
parent 254 dcd4688690ce
child 559 db5cb071644d
permissions -rw-r--r--
removed

import io.Source

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