add sleep and change in get_html function