[OT] Re: How to save web pages for offline reading?

Peter Klyushkin petrk at pochtamt.ru
Mon Jul 21 09:46:52 EDT 2003


Hello, hwlgw at hotmail.com!

>>>>> "WS" == Will Stuyvesant writes:

 WS> I am trying to download pages from Python, for offline reading.
 WS> This to save telephone costs :-)

 WS> If a page contains something like <link rel='stylesheet'
 WS> href='../pythonware.css' type='text/css' /> and I use
 WS> fp=urllib.urlopen(...) and then fp.read(), I get the HTML but not
 WS> the CSS.  As a result the page looks bad when reading offline.
 WS> How to solve this?  Also the .GIF's in a page would be nice, but
 WS> this is less important and also would take more time to download.

<offtopic>
Try installing caching web-proxy.  If squid or oops is to heavy and
complex for you, try wwwoffle.  Anyway, this has nothing common with
Python.
</offtopic>

-- 
                                                             C'ya, Peter.
		      --=[petrk at pochtamt.ru]=--
        --=[ICQ 89449080]=--=[Jabber dassburger at jabber.ru]=--




More information about the Python-list mailing list