Skip to content

Instantly share code, notes, and snippets.

@webus
Created January 18, 2013 14:27
Show Gist options
  • Save webus/4564879 to your computer and use it in GitHub Desktop.
Save webus/4564879 to your computer and use it in GitHub Desktop.
test new futures in Scala 2.10
import scala.io.Source
//import scala.xml.parsing.XhtmlParser
import scala.util.{Try,Success,Failure}
//TODO:finish it!
val html = Try(Source.fromURL("http://freelansim.ru/tasks","UTF-8").mkString)
//val x = XhtmlParser(Source.fromString(html))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment