Add -O option to specify output directory.

 * Make -o works
 * Show url when 404 happened.