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

Add user agent to Giant Bomb API requests #90

Closed
Clidus opened this Issue Feb 18, 2016 · 2 comments

Comments

Projects
None yet
1 participant
@Clidus
Copy link
Owner

Clidus commented Feb 18, 2016

Giant Bomb have started blocking empty user agents. You now need to specify a unique user agent so they can tell who is making requests.

CURLOPT_USERAGENT => 'YourUserAgentGoesHere', needs adding to the curl request under line 11 in https://github.com/Clidus/gwl/blob/master/ignition_application/models/utility.php

I'm going to make this a user specified config in https://github.com/Clidus/gwl/blob/master/ignition_application/config/gwl_config.php as I don't wish to make GWL's user agent public.

@Clidus Clidus added the bug label Feb 18, 2016

@Clidus Clidus self-assigned this Feb 18, 2016

@Clidus

This comment has been minimized.

Copy link
Owner

Clidus commented Feb 18, 2016

Will push version 0.4.3 with this fix tomorrow.

@Clidus

This comment has been minimized.

Copy link
Owner

Clidus commented Feb 18, 2016

Fixed.

@Clidus Clidus closed this Feb 18, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment