0

When reading a webpage in Firefox/Chrome, one can press Ctrl+S to download the webpage with its contents (including CSS, JavaScript, images, etc...) for reading it offline later. I wonder if there is a way to immitate this task using command line that gives the same downloading result.

I know that there are wget and curl. However, as I tried them out, they don't crawl the same amout (with using Firefox and Ctrl+S of files that are needed to render the page to read offline later.

Can anyone tell me if there is any cmd tool (maybe the command line version of Firefox, Chromium?) for this purpose?

  • I want to keep all source files that are needed to render the page. And Ctrl+P is not a cmdline tool though. – 4253wyerg4e Sep 13 '18 at 0:41
  • right, sorry, I missed the point. – glenn jackman Sep 13 '18 at 0:43
  • and Chromium is not a command line version of firefox: it is the open source version of Chrome. – glenn jackman Sep 13 '18 at 0:44
  • I think Chromium does have an CLI, doesn't it? Like headless browsing with Firefox cmd. – 4253wyerg4e Sep 13 '18 at 0:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.