scala read file from url code example
Example: scala get file from url as string
import scala.io.Source
val html = Source.fromURL("http://google.com")
val s = html.mkString
println(s)
import scala.io.Source
val html = Source.fromURL("http://google.com")
val s = html.mkString
println(s)