Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
我建议您查看 这个链接
应该是这样的;
wget -r -A.jpg http://url-to-webpage-with-images/
我之前做的另一种方法,
1) 获取文档的 html 源
2) 解析链接
3) 保存.txt 文件中的链接
4) 之后使用 wget -i file_name.txt
wget -i file_name.txt
您可以使用 这个通用的类我写的。这很容易理解。只要看看Test.java如何使用该类即可。
I recommend you to take a look at this link
it should be something like this ;
Another way that I did earlier,
1) get html source of documents
2) parse links
3) save the links in a .txt file
4) after that use wget -i file_name.txt
You can use this generic class I wrote. It is easy to understand. Just look at Test.java how to use the class.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(1)
我建议您查看 这个链接
应该是这样的;
wget -r -A.jpg http://url-to-webpage-with-images/
我之前做的另一种方法,
1) 获取文档的 html 源
2) 解析链接
3) 保存.txt 文件中的链接
4) 之后使用
wget -i file_name.txt
您可以使用 这个通用的类我写的。这很容易理解。只要看看Test.java如何使用该类即可。
I recommend you to take a look at this link
it should be something like this ;
wget -r -A.jpg http://url-to-webpage-with-images/
Another way that I did earlier,
1) get html source of documents
2) parse links
3) save the links in a .txt file
4) after that use
wget -i file_name.txt
You can use this generic class I wrote. It is easy to understand. Just look at Test.java how to use the class.