copied download() function into srs.scrape