scrape as html5, moved download function