Closed Atomicbeast101 closed 7 years ago
facing the same issue :(
I think this is an issue with cleverbot as a lot of programs I have written have stopped working
Same
Cleverbot recently changed their API policies to limit to 5k free calls per month, and have an official REST api. See https://www.cleverbot.com/api/#abovetitle
Same :disappointed: Will this get fixed? :cry:
It must be never fixed, because it was an unofficial lib, and now there is an official. We can't use the unofficial anymore
I mean I'm down to turn this into a wrapper for the official API but it'll take longer than a one-line change (which is all that was required when things broke in the past). In the meantime / if you can't wait, the link above a good place to start writing your own code.
https://github.com/mrgigabyte/cleverbot.py you can checkout this, i have already initiated a pull request. Just for those who missed that. Kudos to: https://github.com/wrxck/mattata-ai/commit/16ef32be0551774f164e03f2380662d37a2a9b10
With the above hack, cb = Cleverbot('ERASE ANYTHING HERE')
I think this hack don't work anymore
Hmm, kinda annoying that we have to sign up for an API key, but at least there's an official API and it'll no longer break due to them trying to get rid of abuser who probably destroy their servers. I don't know about the other people here but 5000 a month is reasonable and enough for my use.
It should also be fairly easy to integrate as there's no more hacky cookie/header stuff. I can code a PR up this weekend if no one else has time for it.
Does the boibot.com hack still work??
This might help y'all. The API is a lot simpler now.
https://gist.github.com/millerhooks/2db94c841603aea58cec31e668c7f501
@mrgigabyte But that's boibot no? Isn't that an entirely different bot? I haven't tried it but is it comparable in quality to cleverbot?
@millerhooks thanks! Though it seems you pasted twice, might want to edit/fix that.
I don't know what boibot actually is but I edited cleverbot.py's code to use it so now all my cleverbot scripts still work, it is just as good in comparison to cleverbot in my opinion
If you would have tried digging in a bit, you would have figured the answer to the question yourself. Boibot is a bot made my the very same team ( cleverbot ) so yeah.
I went ahead and wrote a wrapper for the new API: https://github.com/edwardslabs/cleverwrap.py feel free to use it as you please.
+1
Closing as this project is now unmaintained - see https://github.com/edwardslabs/cleverwrap.py for a Python library to access the official API.
List index out of range happens when I use the cleverbot API, assuming CleverBot API got changed again. Here's the error log:
Currently using Python v3.5.2 and Cleverbot v2.0.0