def get_constants(self, src):
        
        try:
            self.root_ns = re.findall(r"\"root_ns\": (\d+)", src)[0]
            self.token = re.findall(r"\"TOKEN\": ['\"](.+?)['\"]", src)[0].decode('string_escape')
            
        except:
            raise(Exception("Unable to find constants for AJAX requests"))
Load constants from page
dataset/ETHPy150Open jncraton/PythonDropboxUploader/dbupload/dbconn.py/DropboxConnection.get_constants