Use Mozilla/Firefox from the command line like wget
6 posts
• Page 1 of 1
I noticed something very useful w/ Firefox and Mozilla. Once you load a page, you can do a Save As and save a completely and properly locally rendered version of the page to your local machine.
What I'm wondering, are there any command-line options that would let you have firefox load a remote url from the command line and then save it to a given destination? This would make access to the program from PHP very easy, for example. Seems like the codebase already fully supports the rendering aspect. Just need the options to run from the command line. Wget is really limited in its full support of css. For the project I'm working on now, just using Mozilla/Firefox to do this would save oodles of development time. Geuis Yeah, I already had this list. There doesn't seem to be any command-line only options, like a save-as option.
firefox "http://www.mozilla.org" save-as('/local/copy/') Something like that. Dear geuis,
I know your is now a very old question, but: did you solve it? ![]() giopao314,
Please, don't bump these very old threads, as no-one will still be monitoring them. If you have a problem, start a new thread in the appropriate forum. Thank you. Locking due to very old age. Ancient Amateur Astronomer
Win-7-HP/IntelĀ® DualCore-2.0GHz/500G HDD/4 Gig Ram/550Watt PSU/350WattUPS/Firefox-20.0-62.0-70.0/T-bird-2.0.0.24/SnagIt-v10.0.1/MWP-7.12. W.M.Y.C. (Always choose the "Custom" Install.)
6 posts
• Page 1 of 1
Who is onlineUsers browsing this forum: No registered users and 1 guest |
![]() |