How to detect a remote webpage is accessible? (in HTTP)

grflanagan grflanagan at yahoo.co.uk
Fri Jan 18 07:32:36 EST 2008


On Jan 18, 6:22 am, "甜瓜" <littlesweetme... at gmail.com> wrote:
> Howdy, all,
>      I want to use python to detect the accessibility of website.
> Currently, I use urllib
> to obtain the remote webpage, and see whether it fails. But the problem is that
> the webpage may be very large; it takes too long time. Certainly, it
> is no need to download
> the entire page. Could you give me a good and fast solution?
>     Thank you.
> --
> ShenLei

http://groups.google.com/group/comp.lang.python/browse_frm/thread/bbac82df3d64d48e/da75e45a8da2f6c1



More information about the Python-list mailing list