progs/app0.scala
author Christian Urban <urbanc@in.tum.de>
Tue, 25 Sep 2018 00:27:06 +0100
changeset 559 db5cb071644d
parent 254 dcd4688690ce
permissions -rw-r--r--
update

import io.Source

def get_page(url: String) : String = { 
  Source.fromURL(url)("ISO-8859-1").take(10000).mkString
}