Exemple #1
0
 def _get_json(self, url, *a):
     j = json.loads(self._get_unicode(url, *a))
     return j
Exemple #2
0
 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