我想用wget下载网页指向的所有文档。
当我运行 wget 时,它只下载网页,而不下载网页链接到的所有内容。
wget --content-disposition -v -S -r -nc -np -Kk -px --ignore-length \
--content-disposition --proxy-user "XYZ" --proxy-passwd "PASS" \
--no-check-certificate --load-cookies=cookies.txt --keep-session-cookies \
'https://www.website.com/link/live?func=lab&objId=174914395&objAction=browse&viewType=1'
Wget 仅下载一页,即https://www.website.com/link/live?func=lab&objId=174914395&objAction=browse&viewType=1
.该网页包含:
DataStringToVariables( '( {"currentPageNum":1,"totalPages":1,"totalCount":21,"dbTimeTaken":0,"timeTaken":1,"haveBigImages":"fa lse1","myrows":[{"dataId":"177020845","type2":"184","typeName":"Document","name":"Action_Mar_JKill%2Exls", etc.
有很多 xls、docs、pdf 等,但 wget 不下载它们。我怎样才能下载它们?