Ruby version of bharkhar downloader