Save Complete Web Page in Chrome from script?

2019-06-06 12:51发布

问题:

i am currently using wget -p, but it still doesn't have as good of a result as simply right clicking the web page, and clicking save as complete web page. how can i get the exact result of right clicking and saving as web page from a script? in any language or terminal commands in linux or windows.

回答1:

you can use the recusive option together with level option

wget -rkp -l3 -np -nH --cut-dirs=1 "http://www.your-url.com/"