progs/app0.scala
author cu
Tue, 17 Oct 2017 13:49:45 +0100
changeset 520 2849c305b12d
parent 254 dcd4688690ce
child 559 db5cb071644d
permissions -rw-r--r--
updated

import io.Source

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