cleverbotfree
cleverbotfree copied to clipboard
Sometimes returns empty string
Sometimes the reply is not properly fetched and the API returns an empty string. This is a timing issue caused by not knowing when exactly to close the page, stopping the page.on("response") event. Need to find a better way to figure out when the request/response has occurred.