@@ -94,7 +94,6 @@ def markdownify(
9494 self ,
9595 website_url : str ,
9696 headers : Optional [Dict [str , str ]] = None ,
97- steps : Optional [List [str ]] = None ,
9897 stealth : Optional [bool ] = None ,
9998 stream : Optional [bool ] = None ,
10099 mock : Optional [bool ] = None
@@ -105,7 +104,6 @@ def markdownify(
105104 Args:
106105 website_url: URL of the webpage to convert
107106 headers: HTTP headers to include in the request (optional)
108- steps: Interaction steps before conversion (optional)
109107 stealth: Enable stealth mode to avoid bot detection (optional)
110108 stream: Enable streaming response for real-time updates (optional)
111109 mock: Return mock data for testing purposes (optional)
@@ -118,8 +116,6 @@ def markdownify(
118116
119117 if headers is not None :
120118 data ["headers" ] = headers
121- if steps is not None :
122- data ["steps" ] = steps
123119 if stealth is not None :
124120 data ["stealth" ] = stealth
125121 if stream is not None :
@@ -1441,7 +1437,6 @@ def markdownify(
14411437 website_url : str ,
14421438 ctx : Context ,
14431439 headers : Optional [Dict [str , str ]] = None ,
1444- steps : Optional [List [str ]] = None ,
14451440 stealth : Optional [bool ] = None ,
14461441 stream : Optional [bool ] = None ,
14471442 mock : Optional [bool ] = None
@@ -1476,15 +1471,6 @@ def markdownify(
14761471 * {"Accept-Language": "en-US"}
14771472 - Default: None (uses standard headers)
14781473
1479- steps (Optional[List[str]]): Website interaction steps before conversion.
1480- - List of actions to perform before extracting markdown content
1481- - Useful for interacting with dynamic pages or navigating through content
1482- - Examples:
1483- * ["Click 'Show More' button", "Wait for content to load"]
1484- * ["Navigate to About section", "Expand all details"]
1485- * ["Accept cookies", "Close popup"]
1486- - Default: None (no interaction steps)
1487-
14881474 stealth (Optional[bool]): Enable stealth mode to avoid bot detection.
14891475 - Default: false (standard request)
14901476 - Set to true to bypass basic anti-scraping measures
@@ -1528,7 +1514,6 @@ def markdownify(
15281514 return client .markdownify (
15291515 website_url = website_url ,
15301516 headers = headers ,
1531- steps = steps ,
15321517 stealth = stealth ,
15331518 stream = stream ,
15341519 mock = mock
0 commit comments