Find the answer to your Linux question:
Results 1 to 3 of 3
I want to save the content of a dynamic generated webpage in a text file for further processing from a bash script under Linux. I`m not interested in the source ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2013
    Posts
    2

    "save as" in firefox from bash script


    I want to save the content of a dynamic generated webpage in a text file for further processing from a bash script under Linux. I`m not interested in the source code; all I want is the output of that page to be saved locally (correspondes to Strg+S in firefox). I tried wget, curl... and all that stuff - but this saved only the static part of the page.
    Is there a simple way to save this in a file from command line using firefox or any other browser ?

  2. #2
    Linux User
    Join Date
    Dec 2011
    Location
    Turtle Island West
    Posts
    362
    I don't see any command line arguments to firefox that seem to apply.

    I don't use firefox, but I know that even when I do a "Save As..." in opera, it still only saves the static elements, not the entirety of the page, ads and all.

    Does it work the way you would like when you load the page manually in firefox and click "Save As..."?

  3. #3
    Just Joined!
    Join Date
    Aug 2013
    Posts
    2

    Yes - that works

    and I can't find a way to do that from the script


    Quote Originally Posted by Miven View Post
    I don't see any command line arguments to firefox that seem to apply.

    I don't use firefox, but I know that even when I do a "Save As..." in opera, it still only saves the static elements, not the entirety of the page, ads and all.

    Does it work the way you would like when you load the page manually in firefox and click "Save As..."?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •