Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
removed v0 in example
rafaelmmiller86f41460e0bb
diff --git a/apps/python-sdk/example_async.py b/apps/python-sdk/example_async.pyindex 7afe6a703..d52515152 100644--- a/apps/python-sdk/example_async.py+++ b/apps/python-sdk/example_async.py@@ -73,42 +73,6 @@ async def example_llm_extraction():print(llm_extraction_result['extract'])- # Define schema to extract contents into using json schema- json_schema = {- "type": "object",- "properties": {- "top": {- "type": "array",- "items": {- "type": "object",- "properties": {- "title": {"type": "string"},- "points": {"type": "number"},- "by": {"type": "string"},- "commentsURL": {"type": "string"}- },- "required": ["title", "points", "by", "commentsURL"]- },- "minItems": 5,- "maxItems": 5,- "description": "Top 5 stories on Hacker News"- }- },- "required": ["top"]- }-- app2 = AsyncFirecrawlApp(api_key="fc-", version="v0")-- llm_extraction_result = await app2.scrape_url('https://news.ycombinator.com', {- 'extractorOptions': {- 'extractionSchema': json_schema,- 'mode': 'llm-extraction'- },- 'pageOptions':{- 'onlyMainContent': True- }- })-async def example_map_and_extract():# Map a website:map_result = await app.map_url('https://firecrawl.dev', { 'search': 'blog' })@@ -153,10 +117,8 @@ async def example_websocket_crawl():await watcher.connect()async def main():- # Apply nest_asyncio to allow nested event loopsnest_asyncio.apply()- # Run all the examplesawait example_scrape()await example_batch_scrape()await example_crawl()