code: def get_request(self, url):
          
  
          resp = self.session.get(url, timeout=self.timeout,
                                  proxies=self.proxies)
          result = resp.json()
          if result['code'] != 200:
              LOG.error('Return %s when try to get %s', result, url)
              raise GetRequestIllegal(result)
          else:
              return result
docs: Send a get request.
  
          warning: old api.
          :return: a dict or raise Exception.