Re: Retrieve Custom 404 page.

2008-11-17 Thread godavemon
Perfect! Thanks! On Nov 17, 4:16 pm, Albert Hopkins <[EMAIL PROTECTED]> wrote: > On Mon, 2008-11-17 at 13:59 -0800, godavemon wrote: > > I'm using urllib2 to pull pages for a custom version of a web proxy > > and am having issues with 404 errors.  Urllib2 does a great job of > > letting me know t

Re: Retrieve Custom 404 page.

2008-11-17 Thread Albert Hopkins
On Mon, 2008-11-17 at 13:59 -0800, godavemon wrote: > I'm using urllib2 to pull pages for a custom version of a web proxy > and am having issues with 404 errors. Urllib2 does a great job of > letting me know that a 404 happened with the following code. > > import urllib2 > url = 'http://cnn.com/a