diff --git a/docs/examples/quickstart.py b/docs/examples/quickstart.py index 9992a6bf..74ff21b2 100644 --- a/docs/examples/quickstart.py +++ b/docs/examples/quickstart.py @@ -134,7 +134,7 @@ async def custom_hook_workflow(verbose=True): # Set a 'before_goto' hook to run custom code just before navigation crawler.crawler_strategy.set_hook( "before_goto", - lambda page, context: print("[Hook] Preparing to navigate..."), + lambda page, context: print("[Hook] Preparing to navigate...") if verbose else None, # verbose is used to print the message ) # Perform the crawl operation