CharacterAI
CharacterAI copied to clipboard
.search() method doesn't work
I was using doing:
class cAI():
def __init__(self, character_name):
self.character_name = character_name
self.client = aiocai.Client('****')
async def Find_CharacterKey(self):
try:
character_key = await self.client.search(self.character_name)
return character_key[0].external_id
except Exception as e:
print(e)
then i got the error:
Unable to decode JSON.Server response: <!doctype html><html lang="en"><head><style>.grecaptcha-badge{display:none!important}...
i tested some aiocai method but so far, i only observe this error on .search() method