def __init__(self, proxies=None, auth=None): """ Set up a browser-imitated slurper to slurp_raw Dogpile search results. :type proxies: dict :type auth: requests.auth.HTTPProxyAuth """ Browser.__init__(self, proxies, auth)
def __init__(self, host='localhost', port='8080', debug=True, print_requests=True): site = '%s:%s' % ( host, port, ) Browser.__init__(self, site=site, debug=debug, print_requests=print_requests)
def __init__(self, app_inst, store, search): Browser.__init__(self, app_inst, store, search=search) self._save = app.SaveRegistry() self.search_field = app.Edit(u"", search).bind(self, "search") urwid.connect_signal(self.search_field, "enter", self.do_search)
def __init__(self, host='localhost', port='8080',debug=True,print_requests=True): site='%s:%s'%(host,port,) Browser.__init__(self,site=site,debug=debug,print_requests=print_requests)