A
Albert Schlef
Hello.
I want to download some HTML page, but I also want to save with it the
images it contains. I was thinking about saving it as a MHT file, this
will make my life easier because I won't have to handle the files. I've
checked both my browsers (Firefox and Opera) but I see that there's no
command-line switch that allows me to save URLs as MHT files. I also
searched the net for a Ruby library but found one that seems to only
work on Windows (it's provided with a DLL) which is not good for me
because I'm using Ubuntu.
So, my question is:
Given a URL, how can I save this page as MHT?
(My program is in Ruby, but I don't mind delegating this part to a
command-line utility.)
I want to download some HTML page, but I also want to save with it the
images it contains. I was thinking about saving it as a MHT file, this
will make my life easier because I won't have to handle the files. I've
checked both my browsers (Firefox and Opera) but I see that there's no
command-line switch that allows me to save URLs as MHT files. I also
searched the net for a Ruby library but found one that seems to only
work on Windows (it's provided with a DLL) which is not good for me
because I'm using Ubuntu.
So, my question is:
Given a URL, how can I save this page as MHT?
(My program is in Ruby, but I don't mind delegating this part to a
command-line utility.)