Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Displaying HTTPError help needed #14

Open
0xskynet opened this issue Apr 30, 2015 · 2 comments
Open

Displaying HTTPError help needed #14

0xskynet opened this issue Apr 30, 2015 · 2 comments

Comments

@0xskynet
Copy link

Hello, thanks for the code. I've found below error while executing script.

Error  (<class 'urllib.error.HTTPError'>, HTTPError(), <traceback object at  0x03092580>)

When I traced the hash file and entered url directly in browser, it displays a blank page.
here is the url,

http://api.thesubdb.com/?action=download&hash=93f5905927c3c95e135dfcfc8eef1d4d&language=en

I doubt whether there is not any subtitle file on website of this hash.
I request you if you've working file and it actually downloads the subtitle file then please share me the hash of the file so that I can check it in the script.

Thanks

@yagyeshgod
Copy link

Same error is happening for me too. Please Resolve our problems

@yagyeshgod
Copy link

Actually i have tried this with other files its working fine. It is only
not working for some specific files. By the way thanks. For information and
which subtitle software is best according to u ??
On 02-May-2015 2:59 pm, "Bhavesh Gangani" [email protected] wrote:

Hello all,

I've solved the problem. I'm new in python and heroku, git. But for
curiosity I debugged it over night. Actually the problem is with
cleverbot.py file. If you change cleverbot.py then the program mmight work
properly.

Although you have to use cb = cleverbot.Cleverbot() to start session and cb.ask('Hi.
How are you?") to ask to bot. and it works fine.

Additionally, I've added session arrays from sender id to start a new
different session for each friend. And also added own local language
algorithm which redirects local language friends in a way that they chat in
English language with the bot.

you can find the new cleverbot.py file from below link.
https://github.com/folz/cleverbot.py/blob/master/cleverbot/cleverbot.py


Reply to this email directly or view it on GitHub
#14 (comment)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants