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
Remove print statement in map
anjorc45a132cd55c
diff --git a/apps/python-sdk/firecrawl/firecrawl.py b/apps/python-sdk/firecrawl/firecrawl.pyindex 3961631ed..97f4e04f8 100644--- a/apps/python-sdk/firecrawl/firecrawl.py+++ b/apps/python-sdk/firecrawl/firecrawl.py@@ -228,7 +228,7 @@ class FirecrawlApp:json_data = {'url': url}if params:json_data.update(params)-+# Make the POST request with the prepared headers and JSON dataresponse = requests.post(f'{self.api_url}{endpoint}',@@ -238,7 +238,7 @@ class FirecrawlApp:if response.status_code == 200:response = response.json()if response['success'] and 'links' in response:- return response['links']+ return responseelse:raise Exception(f'Failed to map URL. Error: {response["error"]}')else:@@ -434,4 +434,4 @@ class CrawlWatcher:self.dispatch_event('document', doc)elif msg['type'] == 'document':self.data.append(msg['data'])- self.dispatch_event('document', msg['data'])\ No newline at end of file+ self.dispatch_event('document', msg['data'])