progs/app0.scala
changeset 93 4794759139ea
parent 92 e85600529ca5
child 254 dcd4688690ce
equal deleted inserted replaced
92:e85600529ca5 93:4794759139ea
       
     1 import io.Source
       
     2 
       
     3 def get_page(url: String) : String = { 
       
     4   Source.fromURL(url).take(10000).mkString  
       
     5 
       
     6