progs/app0.scala
author Christian Urban <urbanc@in.tum.de>
Wed, 16 Oct 2019 11:14:53 +0100
changeset 659 15b69ca63b29
parent 559 db5cb071644d
permissions -rw-r--r--
optional

import io.Source

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