Fix a bug in scraper. Polished the downloading part.