问题
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/"
来源:https://stackoverflow.com/questions/13739122/save-complete-web-page-in-chrome-from-script