firecrawl 2.2.0__tar.gz → 2.3.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of firecrawl might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: firecrawl
3
- Version: 2.2.0
3
+ Version: 2.3.0
4
4
  Summary: Python SDK for Firecrawl API
5
5
  Home-page: https://github.com/mendableai/firecrawl
6
6
  Author: Mendable.ai
@@ -13,7 +13,7 @@ import os
13
13
 
14
14
  from .firecrawl import FirecrawlApp, JsonConfig, ScrapeOptions # noqa
15
15
 
16
- __version__ = "2.2.0"
16
+ __version__ = "2.3.0"
17
17
 
18
18
  # Define the logger for the Firecrawl project
19
19
  logger: logging.Logger = logging.getLogger("firecrawl")
@@ -3022,7 +3022,7 @@ class AsyncFirecrawlApp(FirecrawlApp):
3022
3022
  id = response.get('id')
3023
3023
  except:
3024
3024
  raise Exception(f'Failed to parse Firecrawl response as JSON.')
3025
- return self._monitor_job_status(id, headers, poll_interval)
3025
+ return await self._async_monitor_job_status(id, headers, poll_interval)
3026
3026
  else:
3027
3027
  self._handle_error(response, 'start batch scrape job')
3028
3028
 
@@ -3259,7 +3259,7 @@ class AsyncFirecrawlApp(FirecrawlApp):
3259
3259
  id = response.get('id')
3260
3260
  except:
3261
3261
  raise Exception(f'Failed to parse Firecrawl response as JSON.')
3262
- return self._monitor_job_status(id, headers, poll_interval)
3262
+ return await self._async_monitor_job_status(id, headers, poll_interval)
3263
3263
  else:
3264
3264
  self._handle_error(response, 'start crawl job')
3265
3265
 
@@ -3472,7 +3472,7 @@ class AsyncFirecrawlApp(FirecrawlApp):
3472
3472
  data.extend(next_data.get('data', []))
3473
3473
  status_data = next_data
3474
3474
  status_data['data'] = data
3475
- return status_data
3475
+ return CrawlStatusResponse(**status_data)
3476
3476
  else:
3477
3477
  raise Exception('Job completed but no data was returned')
3478
3478
  elif status_data.get('status') in ['active', 'paused', 'pending', 'queued', 'waiting', 'scraping']:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: firecrawl
3
- Version: 2.2.0
3
+ Version: 2.3.0
4
4
  Summary: Python SDK for Firecrawl API
5
5
  Home-page: https://github.com/mendableai/firecrawl
6
6
  Author: Mendable.ai
File without changes
File without changes
File without changes
File without changes
File without changes