except RedirectException as e:
return None, e.errcode, e.newurl, None, None
except RedirectException as e:
return None, e.errcode, e.newurl, None, None
error = str(e)
self.log(' Error: %s' % error)
return error, None, None, None, None
error = str(e)
self.log(' Error: %s' % error)
return error, None, None, None, None