网站 下载 整个
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.
问题 (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提供了一个应用程序推荐:
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:
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/
网站 下载 整个