progs/app0.scala
author Christian Urban <urbanc@in.tum.de>
Thu, 23 Mar 2017 14:49:26 +0000
changeset 481 acd8780bfc8b
parent 254 dcd4688690ce
child 559 db5cb071644d
permissions -rw-r--r--
merged

import io.Source

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