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

TypeError: listen_for_events() got an unexpected keyword argument 'url' #39

Closed
retpoline opened this issue Dec 3, 2020 · 2 comments
Closed

Comments

@retpoline
Copy link

pip install certstream

$ python examples/echo.py 
Traceback (most recent call last):
  File "echo.py", line 25, in <module>
    certstream.listen_for_events(print_callback, url='wss://certstream.calidog.io/')
TypeError: listen_for_events() got an unexpected keyword argument 'url'

Is there something else missing to make the echo example work?

Thanks!

@Fitblip
Copy link
Member

Fitblip commented Jan 18, 2021

Howdy, I suspect this is the websocket library having changed. It looks like I didn't actually pin it to a specific version though https://github.com/CaliDog/certstream-python/blob/master/requirements.txt#L1 so that'd cause the breakage. I'll take a look when I have a chance, sorry for the breakage!

@Fitblip
Copy link
Member

Fitblip commented Apr 28, 2021

This should be fixed with #42

@Fitblip Fitblip closed this as completed Apr 28, 2021
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