else:
error, r = request_get(url, headers, self.timeout, None)
if error is not None:
else:
error, r = request_get(url, headers, self.timeout, None)
if error is not None:
if self.proxy and error != '404 not_found':
self.log(' Retrying with the proxy...')
error, r = request_get(url, headers,
if self.proxy and error != '404 not_found':
self.log(' Retrying with the proxy...')
error, r = request_get(url, headers,
if url_host not in self.proxy_ok:
self.proxy_error.add(url_host)
return error, None, None, None, None
if url_host not in self.proxy_ok:
self.proxy_error.add(url_host)
return error, None, None, None, None