saik0 / humblebundle-python

An unofficial library for querying Humble Bundle
MIT License
69 stars 15 forks source link

Making a simple call to `search_store` fails. #16

Open mainrs opened 7 years ago

mainrs commented 7 years ago

Just wanted to try out if the end point is still available. Looks like it isn't. I get the following error message:

Traceback (most recent call last):
  File "examples.py", line 14, in <module>
    order_list = client.search_store("outlast")
  File "/Users/Sven/Desktop/humblebundle-python/humblebundle/decorators.py", line 20, in wrap
    result = func(*args, **kwargs)
  File "/Users/Sven/Desktop/humblebundle-python/humblebundle/client.py", line 239, in search_store
    return handlers.store_products_handler(self, response)
  File "/Users/Sven/Desktop/humblebundle-python/humblebundle/handlers.py", line 169, in store_products_handler
    data = parse_data(response)
  File "/Users/Sven/Desktop/humblebundle-python/humblebundle/handlers.py", line 23, in parse_data
    raise HumbleParseException("Invalid JSON: %s", str(e), request=response.request, response=response)
humblebundle.exceptions.HumbleParseException: [Errno Invalid JSON: %s] Extra data: line 1 column 5 - line 5 column 4 (char 4 - 52)