get the url first, then start task