File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
agentstack/_tools/agentql Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1010
1111
1212def extract_data (
13- url : str , query : Optional [str ], prompt : Optional [str ], stealth_mode : bool = False
13+ url : str ,
14+ query : Optional [str ],
15+ prompt : Optional [str ],
16+ is_stealth_mode_enabled : bool = False ,
1417) -> dict :
1518 """
1619 url: url of website to scrape
1720 query: described below
1821 prompt: Natural language description of the data you want to scrape
19- stealth_mode : Enable stealth mode for web scraping (default: False)
22+ is_stealth_mode_enabled : Enable stealth mode for web scraping (default: False)
2023
2124 AgentQL query to scrape the url.
2225
@@ -52,7 +55,7 @@ def extract_data(
5255 "query" : query ,
5356 "prompt" : prompt ,
5457 "metadata" : {
55- "experimental_stealth_mode_enabled" : stealth_mode ,
58+ "experimental_stealth_mode_enabled" : is_stealth_mode_enabled ,
5659 },
5760 }
5861
You can’t perform that action at this time.
0 commit comments