MCPcopy Create free account
hub / github.com/cxapython/catvm / __init__

Method __init__

selenium/scrapy_splash/response.py:109–119  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

107 or to base64-decoded value of 'body' key;
108 """
109 def __init__(self, *args, **kwargs):
110 self.cookiejar = None
111 self._cached_ubody = None
112 self._cached_data = None
113 self._cached_selector = None
114 kwargs.pop('encoding', None) # encoding is always utf-8
115 super(SplashJsonResponse, self).__init__(*args, **kwargs)
116
117 # FIXME: it assumes self.request is set
118 if self._splash_options().get('magic_response', True):
119 self._load_from_json()
120
121 @property
122 def data(self):

Callers 1

__init__Method · 0.45

Calls 2

_load_from_jsonMethod · 0.95
_splash_optionsMethod · 0.80

Tested by

no test coverage detected