progs/app0.scala
author Christian Urban <urbanc@in.tum.de>
Wed, 24 Oct 2018 16:03:07 +0100 (2018-10-24)
changeset 586 451a95e1bc25
parent 559 db5cb071644d
permissions -rw-r--r--
typos
import io.Source

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