mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-02-24 00:29:53 -05:00
Merge pull request #205 from vbanos/behavior-timeout-zero
Skip loading behavior when behavior_timeout=0 behavior_timeout is an existing parameter to `Browser.browse_page`
This commit is contained in:
commit
5a6ecb09d5
@ -509,7 +509,7 @@ class Browser:
|
||||
self.websock_thread.page_status >= 400):
|
||||
run_behaviors = False
|
||||
|
||||
if run_behaviors:
|
||||
if run_behaviors and behavior_timeout > 0:
|
||||
behavior_script = brozzler.behavior_script(
|
||||
page_url, behavior_parameters,
|
||||
behaviors_dir=behaviors_dir)
|
||||
|
Loading…
x
Reference in New Issue
Block a user