typo
This commit is contained in:
parent
04cdf1bc2e
commit
eceee142e9
|
@ -487,7 +487,7 @@ class HtmlHandler(xml.sax.handler.ContentHandler):
|
||||||
|
|
||||||
def _get_img(self, attrs):
|
def _get_img(self, attrs):
|
||||||
mem, alt = '', ''
|
mem, alt = '', ''
|
||||||
# Wait maximum 1s for connection
|
# Wait maximum 5s for connection
|
||||||
socket.setdefaulttimeout(5)
|
socket.setdefaulttimeout(5)
|
||||||
try:
|
try:
|
||||||
req = urllib2.Request(attrs['src'])
|
req = urllib2.Request(attrs['src'])
|
||||||
|
|
Loading…
Reference in New Issue