def _get_json(self, url, *a): j = json.loads(self._get_unicode(url, *a)) return j
def _get_json(self, url): j = json.loads(self._get_unicode(url)) if 'rate' in j: # shit, we've been banned... raise BrowserBanned('Flood - Banned for today') return j