feat: stabilize multi-region runtime sync and worker orchestration
This commit is contained in:
@@ -93,10 +93,9 @@ class JuziseoDetector(BaseDetector):
|
||||
}
|
||||
else:
|
||||
self._log_warning(f"桔子SEO历史查询失败: {response.status_code}")
|
||||
return {'has_sensitive': False, 'has_baidu_history': False, 'has_subdomains': False, 'is_simplified': True}
|
||||
return {'error': f'HTTP {response.status_code}'}
|
||||
except Exception as e:
|
||||
self._handle_exception(e, domain)
|
||||
return {'has_sensitive': False, 'has_baidu_history': False, 'has_subdomains': False, 'is_simplified': True}
|
||||
return self._handle_exception(e, domain)
|
||||
|
||||
def check_backlink(self, domain):
|
||||
"""
|
||||
@@ -131,10 +130,9 @@ class JuziseoDetector(BaseDetector):
|
||||
}
|
||||
else:
|
||||
self._log_warning(f"桔子SEO外链查询失败: {response.status_code}")
|
||||
return {'has_sensitive': False, 'has_subdomains': False}
|
||||
return {'error': f'HTTP {response.status_code}'}
|
||||
except Exception as e:
|
||||
self._handle_exception(e, domain)
|
||||
return {'has_sensitive': False, 'has_subdomains': False}
|
||||
return self._handle_exception(e, domain)
|
||||
|
||||
def _extract_history_info(self, content):
|
||||
"""
|
||||
@@ -211,4 +209,4 @@ class JuziseoDetector(BaseDetector):
|
||||
if word in content:
|
||||
return True
|
||||
|
||||
return False
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user