mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-21 16:16:28 -04:00
use custom timeout always
This commit is contained in:
parent
96e499887b
commit
647d7e70b3
@ -451,7 +451,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