mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-21 08:06:27 -04:00
use custom timeout always
This commit is contained in:
parent
d7b695613e
commit
81983d1695
@ -466,7 +466,7 @@ class Browser:
|
||||
behavior_script, behavior_timeout_custom = brozzler.behavior_script(
|
||||
page_url, behavior_parameters,
|
||||
behaviors_dir=behaviors_dir)
|
||||
if behavior_timeout_custom and behavior_timeout_custom > behavior_timeout:
|
||||
if behavior_timeout_custom:
|
||||
behavior_timeout = behavior_timeout_custom
|
||||
self.run_behavior(behavior_script, timeout=behavior_timeout)
|
||||
if skip_extract_outlinks:
|
||||
|
Loading…
x
Reference in New Issue
Block a user