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

Bitstamp API seems to refuse requests without user-agent #42

Open
Deelight-fr opened this issue May 15, 2019 · 1 comment
Open

Bitstamp API seems to refuse requests without user-agent #42

Deelight-fr opened this issue May 15, 2019 · 1 comment

Comments

@Deelight-fr
Copy link
Contributor

Bitstamp API seems to refuse requests without user-agent.

I added a fake user-agent around here to make it work again:

Example:

        kwargs['headers'] = {
            'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36'
        }
@kmadac
Copy link
Owner

kmadac commented Jun 11, 2019

I just tried couple of requests and I did not experience the issue. Could you please paste output of error which you get when user agent is not defined?

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