From 63d4ab15790a8681bcd921d0a1f91110e80fdf93 Mon Sep 17 00:00:00 2001 From: dominicx Date: Wed, 16 Jul 2025 11:49:03 +0800 Subject: [PATCH 1/3] Fixed the error that the variable css_selector was assigned to list --- docs/md_v2/assets/llm.txt/txt/config_objects.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/md_v2/assets/llm.txt/txt/config_objects.txt b/docs/md_v2/assets/llm.txt/txt/config_objects.txt index e84d9b906..9139249a5 100644 --- a/docs/md_v2/assets/llm.txt/txt/config_objects.txt +++ b/docs/md_v2/assets/llm.txt/txt/config_objects.txt @@ -442,7 +442,7 @@ config = CrawlerRunConfig( # Hierarchical content selection config = CrawlerRunConfig( - css_selector=["#main-content", ".article-wrapper"], # Top-level extraction + css_selector="#main-content, .article-wrapper", # Top-level extraction target_elements=[ # Subset for processing ".article-title", ".article-body", @@ -1168,4 +1168,4 @@ async def performance_optimized_crawling(): **📖 Learn more:** [Complete Parameter Reference](https://docs.crawl4ai.com/api/parameters/), [Content Filtering](https://docs.crawl4ai.com/core/markdown-generation/), [Session Management](https://docs.crawl4ai.com/advanced/session-management/), [Network Capture](https://docs.crawl4ai.com/advanced/network-console-capture/) -**📖 Learn more:** [Hooks & Authentication](https://docs.crawl4ai.com/advanced/hooks-auth/), [Session Management](https://docs.crawl4ai.com/advanced/session-management/), [Network Monitoring](https://docs.crawl4ai.com/advanced/network-console-capture/), [Page Interaction](https://docs.crawl4ai.com/core/page-interaction/), [File Downloads](https://docs.crawl4ai.com/advanced/file-downloading/) \ No newline at end of file +**📖 Learn more:** [Hooks & Authentication](https://docs.crawl4ai.com/advanced/hooks-auth/), [Session Management](https://docs.crawl4ai.com/advanced/session-management/), [Network Monitoring](https://docs.crawl4ai.com/advanced/network-console-capture/), [Page Interaction](https://docs.crawl4ai.com/core/page-interaction/), [File Downloads](https://docs.crawl4ai.com/advanced/file-downloading/) From 670af121e3069d7a432beee7f09201c9bc691957 Mon Sep 17 00:00:00 2001 From: dominicx Date: Wed, 16 Jul 2025 11:52:29 +0800 Subject: [PATCH 2/3] Fixed the error that the variable css_selector was originally assigned to list --- docs/md_v2/assets/llm.txt/txt/llms-full.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/md_v2/assets/llm.txt/txt/llms-full.txt b/docs/md_v2/assets/llm.txt/txt/llms-full.txt index 12dad6033..05ff85ad9 100644 --- a/docs/md_v2/assets/llm.txt/txt/llms-full.txt +++ b/docs/md_v2/assets/llm.txt/txt/llms-full.txt @@ -1066,7 +1066,7 @@ config = CrawlerRunConfig( # Hierarchical content selection config = CrawlerRunConfig( - css_selector=["#main-content", ".article-wrapper"], # Top-level extraction + css_selector="#main-content, .article-wrapper", # Top-level extraction target_elements=[ # Subset for processing ".article-title", ".article-body", From eee52e8576b5d4834371c46586991a55ba8f90dd Mon Sep 17 00:00:00 2001 From: dominicx Date: Wed, 16 Jul 2025 11:54:30 +0800 Subject: [PATCH 3/3] Fixed the error that the variable css_selector was originally assigned to list --- docs/md_v2/assets/llm.txt/txt/llms-full-v0.1.1.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/md_v2/assets/llm.txt/txt/llms-full-v0.1.1.txt b/docs/md_v2/assets/llm.txt/txt/llms-full-v0.1.1.txt index 12dad6033..05ff85ad9 100644 --- a/docs/md_v2/assets/llm.txt/txt/llms-full-v0.1.1.txt +++ b/docs/md_v2/assets/llm.txt/txt/llms-full-v0.1.1.txt @@ -1066,7 +1066,7 @@ config = CrawlerRunConfig( # Hierarchical content selection config = CrawlerRunConfig( - css_selector=["#main-content", ".article-wrapper"], # Top-level extraction + css_selector="#main-content, .article-wrapper", # Top-level extraction target_elements=[ # Subset for processing ".article-title", ".article-body",