pass behavior template parameters on to behavior - fixes umbra's ability to log in with parameters received from amqp

This commit is contained in:
Noah Levitt 2016-07-26 19:47:09 -05:00
parent c685a4432c
commit c4bdb6c1fd
2 changed files with 2 additions and 2 deletions

View File

@ -472,7 +472,7 @@ compileOutlinks(window).join(' ');
def _page_load_event_fired(self, message):
self.logger.info("Page.loadEventFired, moving on to starting behaviors url={}".format(self.url))
self._behavior = Behavior(self.url, self)
self._behavior.start()
self._behavior.start(self.behavior_parameters)
self._waiting_on_document_url_msg_id = self.send_to_chrome(method="Runtime.evaluate", params={"expression":"document.URL"})

View File

@ -21,7 +21,7 @@ import setuptools
setuptools.setup(
name='brozzler',
version='1.1b3.dev57',
version='1.1b3.dev58',
description='Distributed web crawling with browsers',
url='https://github.com/internetarchive/brozzler',
author='Noah Levitt',