Coursera video downloader coded in Scala