(refactors) promisifies github scraper