网站 下载 整个_如何下载整个网站?

网站 下载 整个

网站 下载 整个

You don’t just want an article or an individual image, you want the whole web site. What’s the easiest way to siphon it all?

您不仅需要文章或单个图片,还需要整个网站。 虹吸这一切的最简单方法是什么?

Today’s Question & Answer session comes to us courtesy of SuperUser—a subdivision of Stack Exchange, a community-driven grouping of Q&A web sites.

今天的“问答”环节由SuperUser提供,它是Stack Exchange的一个分支,该社区是由社区驱动的Q&A网站分组。

Image available as wallpaper at GoodFon.

图片可在GoodFon网站上获得

问题 (The Question)

SuperUser reader Joe has a simple request:

超级用户阅读器Joe有一个简单的请求:

How can I download all pages from a website?

如何从网站下载所有页面?

Any platform is fine.

任何平台都可以。

Every page, no exception. Joe’s on a mission.

每页,无一例外。 乔正在执行任务。

答案 (The Answer)

SuperUser contributor Axxmasterr offers an application recommendation:

超级用户贡献者Axxmasterr提供了一个应用程序推荐:

http://www.httrack.com/

http://www.httrack.com/

HTTRACK works like a champ for copying the contents of an entire site. This tool can even grab the pieces needed to make a website with active code content work offline. I am amazed at the stuff it can replicate offline.

HTTRACK就像一个冠军,可以复制整个站点的内容。 该工具甚至可以抓取使具有活动代码内容的网站脱机工作所需的内容。 我对它可以离线复制的东西感到惊讶。

This program will do all you require of it.

该程序将满足您的所有要求。

Happy hunting!

狩猎愉快!

We can heartily recomment HTTRACK. It’s a mature application that gets the job done. What about archivists on non-Windows platforms? Another contributor, Jonik, suggests another mature and powerful tool:

我们可以衷心推荐HTTRACK。 这是一个成熟的应用程序,可以完成工作。 非Windows平台上的档案管理员呢? 另一个贡献者Jonik提出了另一个成熟而强大的工具:

Wget is a classic command-line tool for this kind of task. It comes with most Unix/Linux systems, and you can get it for Windows too (newer 1.13.4 available here).

Wget是用于此类任务的经典命令行工具。 它随大多数Unix / Linux系统一起提供,您也可以在Windows上获得它( 此处提供更新的1.13.4 )。

You’d do something like:

您将执行以下操作:

wget -r --no-parent http://site.com/songs/
wget -r --no-parent http://site.com/songs/

For more details, see Wget Manual and its examples, or take a look at these:

有关更多详细信息,请参见《 Wget手册》及其示例 ,或查看以下内容:



Have something to add to the explanation? Sound off in the the comments. Want to read more answers from other tech-savvy Stack Exchange users? Check out the full discussion thread here.

有什么补充说明吗? 在评论中听起来不对。 是否想从其他精通Stack Exchange的用户那里获得更多答案? 在此处查看完整的讨论线程

翻译自: https://www.howtogeek.com/171948/how-can-i-download-an-entire-web-site/

网站 下载 整个

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值