Add a process bar for downloading page. and support outputdir.