@@ -2066,6 +2066,7 @@ def web_scrape_md(
20662066 include_images : bool | Omit = omit ,
20672067 include_links : bool | Omit = omit ,
20682068 shorten_base64_images : bool | Omit = omit ,
2069+ use_main_content_only : bool | Omit = omit ,
20692070 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
20702071 # The extra values given here take precedence over values defined on the client or passed to this method.
20712072 extra_headers : Headers | None = None ,
@@ -2087,6 +2088,9 @@ def web_scrape_md(
20872088
20882089 shorten_base64_images: Shorten base64-encoded image data in the Markdown output
20892090
2091+ use_main_content_only: Extract only the main content of the page, excluding headers, footers, sidebars,
2092+ and navigation
2093+
20902094 extra_headers: Send extra headers
20912095
20922096 extra_query: Add additional query parameters to the request
@@ -2108,6 +2112,7 @@ def web_scrape_md(
21082112 "include_images" : include_images ,
21092113 "include_links" : include_links ,
21102114 "shorten_base64_images" : shorten_base64_images ,
2115+ "use_main_content_only" : use_main_content_only ,
21112116 },
21122117 brand_web_scrape_md_params .BrandWebScrapeMdParams ,
21132118 ),
@@ -4170,6 +4175,7 @@ async def web_scrape_md(
41704175 include_images : bool | Omit = omit ,
41714176 include_links : bool | Omit = omit ,
41724177 shorten_base64_images : bool | Omit = omit ,
4178+ use_main_content_only : bool | Omit = omit ,
41734179 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
41744180 # The extra values given here take precedence over values defined on the client or passed to this method.
41754181 extra_headers : Headers | None = None ,
@@ -4191,6 +4197,9 @@ async def web_scrape_md(
41914197
41924198 shorten_base64_images: Shorten base64-encoded image data in the Markdown output
41934199
4200+ use_main_content_only: Extract only the main content of the page, excluding headers, footers, sidebars,
4201+ and navigation
4202+
41944203 extra_headers: Send extra headers
41954204
41964205 extra_query: Add additional query parameters to the request
@@ -4212,6 +4221,7 @@ async def web_scrape_md(
42124221 "include_images" : include_images ,
42134222 "include_links" : include_links ,
42144223 "shorten_base64_images" : shorten_base64_images ,
4224+ "use_main_content_only" : use_main_content_only ,
42154225 },
42164226 brand_web_scrape_md_params .BrandWebScrapeMdParams ,
42174227 ),
0 commit comments