Python check status of URL stream -
i'm trying use python check if mjpeg stream url alive or not.
i've tried following:
connection = urlopen('http://localhost/videostream.cgi'), timeout=10) response = connection.getcode() connection.close()
with no luck, times out of gives error.
if view status in firebug or chrome dev toolbar, status "pending" instead of "200".
is there way check make sure it's not 404 or other error?
cheers, ben
turns out camera web server.
Comments
Post a Comment