Clidus / gwl

Video game collection, wishlist and backlog tracker.
https://www.gamingwithlemons.com/
MIT License
18 stars 6 forks source link

Add user agent to Giant Bomb API requests #90

Closed Clidus closed 8 years ago

Clidus commented 8 years ago

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 commented 8 years ago

Will push version 0.4.3 with this fix tomorrow.

Clidus commented 8 years ago

Fixed.