最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Download complete web page from Chrome extension - Stack Overflow

programmeradmin6浏览0评论

is it possible to programmatically download plete web page (like Chrome can when you hit Ctrl+S) from my web extension? I need the HTML with acpanying resources (images etc), so pageCapture (MHTML) is not an option i guess (also downloading each resource with ajax separately is not an option here).

is it possible to programmatically download plete web page (like Chrome can when you hit Ctrl+S) from my web extension? I need the HTML with acpanying resources (images etc), so pageCapture (MHTML) is not an option i guess (also downloading each resource with ajax separately is not an option here).

Share Improve this question edited Mar 30, 2020 at 10:37 mrd asked Mar 30, 2020 at 10:25 mrdmrd 831 gold badge2 silver badges5 bronze badges 1
  • 1 "also downloading each resource with ajax separately is not an option here" why? – Lajos Arpad Commented Mar 30, 2020 at 10:37
Add a ment  | 

2 Answers 2

Reset to default 3

Not sure I understood your problem, are you writing your own extension or looking for one?

If you're looking for one I'd remend Save All Resources extension.

Please note: ensure you are aware of the data that is shared by this extension with the developer (privacy). Save All Resources collects the following: Website content For example: text, images, sounds, videos or hyperlinks

yes you can by using HTTrack software. HTTrack allows you to download a World Wide Web site from the Internet to a local directory, building recursively all directories, getting HTML, images, and other files from the server to your puter. HTTrack arranges the original site's relative link-structure. Simply open a page of the "mirrored" website in your browser, and you can browse the site from link to link, as if you were viewing it online. HTTrack can also update an existing mirrored site, and resume interrupted downloads. HTTrack is fully configurable, and has an integrated help system.

download here. https://www.httrack./page/2/en/index.html

so hope the answers.

发布评论

评论列表(0)

  1. 暂无评论