How to save web pages for offline reading?
Thomas Güttler
guettler at thomas-guettler.de
Mon Jul 21 06:07:59 EDT 2003
Will Stuyvesant wrote:
> I am trying to download pages from Python, for offline reading. This
> to save telephone costs :-)
>
> If a page contains something like
> <link rel='stylesheet' href='../pythonware.css' type='text/css' />
> and I use fp=urllib.urlopen(...) and then fp.read(), I get the HTML
> but not the CSS. As a result the page looks bad when reading offline.
> How to solve this? Also the .GIF's in a page would be nice, but this
> is less important and also would take more time to download.
Hi,
Does it need to be done with pyhton?
If not, I would use wget. It has very much features.
thomas
More information about the Python-list
mailing list