mirror of https://gitlab.com/bashrc2/epicyon
Check if nickname exists
parent
7d036936dc
commit
5000f8130f
|
|
@ -166,7 +166,8 @@ def blocked_user_agent(calling_domain: str, agent_str: str,
|
||||||
'meta-externalfetcher', 'meta-webindexer', 'aiscraper',
|
'meta-externalfetcher', 'meta-webindexer', 'aiscraper',
|
||||||
'openai', 'panscient', 'phindbot', 'qualifiedbot', 'quillbot',
|
'openai', 'panscient', 'phindbot', 'qualifiedbot', 'quillbot',
|
||||||
'sbIntuitionsbot', 'semrushbot', 'shapbot', 'terracotta',
|
'sbIntuitionsbot', 'semrushbot', 'shapbot', 'terracotta',
|
||||||
'velenpublicwebcrawler', 'wpbot', 'yak'
|
'velenpublicwebcrawler', 'wpbot', 'yak', 'amzn-', 'azureai',
|
||||||
|
'kagi-fetcher'
|
||||||
)
|
)
|
||||||
for bot_str in llm_bot_strings:
|
for bot_str in llm_bot_strings:
|
||||||
if bot_str in agent_str_lower:
|
if bot_str in agent_str_lower:
|
||||||
|
|
|
||||||
|
|
@ -88,8 +88,11 @@ def post_to_outbox(self, message_json: {}, version: str,
|
||||||
return False
|
return False
|
||||||
|
|
||||||
if not is_online():
|
if not is_online():
|
||||||
print('WARN: ' + post_to_nickname +
|
if post_to_nickname:
|
||||||
' cannot send post because not online')
|
print('WARN: ' + post_to_nickname +
|
||||||
|
' cannot send post because not online')
|
||||||
|
else:
|
||||||
|
print('WARN: cannot send post because not online')
|
||||||
return False
|
return False
|
||||||
|
|
||||||
city = self.server.city
|
city = self.server.city
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue