Add Colab utilities and rename setup function for clarity

This commit is contained in:
UncleCode
2025-05-25 16:50:56 +08:00
parent 1fc45ffac8
commit 33b0e222ca
2 changed files with 9 additions and 2 deletions

View File

@@ -66,6 +66,11 @@ from .deep_crawling import (
DeepCrawlDecorator,
)
from .utils import (
start_colab_display_server,
setup_colab_environment
)
__all__ = [
"AsyncLoggerBase",
"AsyncLogger",
@@ -124,7 +129,9 @@ __all__ = [
"Crawl4aiDockerClient",
"ProxyRotationStrategy",
"RoundRobinProxyStrategy",
"ProxyConfig"
"ProxyConfig",
"start_colab_display_server",
"setup_colab_environment",
]

View File

@@ -2914,7 +2914,7 @@ def start_colab_display_server():
def setup_colab_environment_ipython():
def setup_colab_environment():
"""
Alternative setup using IPython magic commands
"""