@@ -108,11 +108,11 @@ # Patch API url together, send request, decode JSON list def api(self, method, **params): params["token"] = conf.dirble_api_key or self.key try: # HTTP request and JSON decoding take a while - r = ahttp.get(self.base.format(method), params) + r = ahttp.get(self.base.format(method), params, encoding="utf-8") r = json.loads(r) if isinstance(r, dict) and "error" in r: log.ERR(r["error"]) raise Exception # cut down stream list