def __init__(self, user_agent=None, **kwargs):
        try:
            import spynner
        except __HOLE__:
            raise DependencyNotInstalledError('spynner')
        
        if user_agent is None:
            user_agent = 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)'
        
        self.br = spynner.Browser(user_agent=user_agent, **kwargs)
dataset/ETHPy150Open chineking/cola/cola/core/opener.py/SpynnerOpener.__init__