progs/app0.scala
author cu
Wed, 18 Oct 2017 12:33:00 +0100
changeset 523 25e74e6fe2f7
parent 254 dcd4688690ce
child 559 db5cb071644d
permissions -rw-r--r--
update

import io.Source

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