1
import io.Source
2
3
def get_page(url: String) : String = {
4
Source.fromURL(url).take(10000).mkString
5
6
get_page("""http://www.inf.kcl.ac.uk/staff/urbanc/""")
7
8