Update simple-crawling.md (#379)
In the comprehensive example, AttributeError: type object 'CacheMode' has no attribute 'ENABLE'. Did you mean: 'ENABLED'?
This commit is contained in:
@@ -99,7 +99,7 @@ async def main():
|
|||||||
remove_overlay_elements=True,
|
remove_overlay_elements=True,
|
||||||
|
|
||||||
# Cache control
|
# Cache control
|
||||||
cache_mode=CacheMode.ENABLE # Use cache if available
|
cache_mode=CacheMode.ENABLED # Use cache if available
|
||||||
)
|
)
|
||||||
|
|
||||||
if result.success:
|
if result.success:
|
||||||
|
|||||||
Reference in New Issue
Block a user