Skip to main content

Free cleverbot without headless browser

Project description

Cleverbot Scrapper Lib

Simple free cleverbot library that doesn't require running a heavy ram wasting headless web browser to actually chat with the bot, all that it uses is the requests module. Also supports simultaneously different sessions, which means, different parallel conversations.

Try it

Install and test with:

pip3 install cleverbot-scrapper
python3 -m "cleverbot"

The last command will start a live session with the cleverbot(for testing purposes).

Example

from cleverbot import cleverbot
# With context and session
# An ongoing conversation with the first question as "How are you?"
print("How are you?")
print(cleverbot(input(">>"), ["hi.", "How are you?"], "How are you?"))
while True:
    print(cleverbot(input(">>"), session="How are you?"))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cleverbot-scraper-0.1.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

cleverbot_scraper-0.1-py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page