8/23/15

Wget Download html, images, css and etc ...

Life hack. How to download a web page without having to install additional software?

It's very easy:
wget -erobots=off --no-parent --wait=3 --limit-rate=20K -r -p -U "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)" -A htm,html,css,js,json,gif,jpeg,jpg,bmp,png http://example.com
htm,html,css,js,json,gif,jpeg,jpg,bmp,png - If you need to download something else. Just add the file extension like: zip, exe, etc.
or

wget --limit-rate=2000k --no-clobber --convert-links --random-wait -r -p -E -e robots=off -U mozilla http://example.com

No comments:

Post a Comment