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
Nick: v12
Nicolas2139129296f4
diff --git a/apps/api/src/controllers/auth.ts b/apps/api/src/controllers/auth.tsindex bd246d757..b7eecd8c6 100644--- a/apps/api/src/controllers/auth.ts+++ b/apps/api/src/controllers/auth.ts@@ -132,7 +132,7 @@ export async function supaAuthenticateUser(const retryDate = new Date(Date.now() + rateLimiterRes.msBeforeNext);return {success: false,- error: `Rate limit exceeded. Consumed points: ${rateLimiterRes.consumedPoints}, Remaining points: ${rateLimiterRes.remainingPoints}. Please retry after ${secs}s, resets at ${retryDate}`,+ error: `Rate limit exceeded. Consumed points: ${rateLimiterRes.consumedPoints}, Remaining points: ${rateLimiterRes.remainingPoints}. Upgrade your plan at https://firecrawl.dev/pricing for increased rate limits or please retry after ${secs}s, resets at ${retryDate}`,status: 429,};}diff --git a/apps/python-sdk/build/lib/firecrawl/firecrawl.py b/apps/python-sdk/build/lib/firecrawl/firecrawl.pyindex 6c0bc4150..3f50c7984 100644--- a/apps/python-sdk/build/lib/firecrawl/firecrawl.py+++ b/apps/python-sdk/build/lib/firecrawl/firecrawl.py@@ -273,7 +273,7 @@ class FirecrawlApp:return status_data['data']else:raise Exception('Crawl job completed but no data was returned')- elif status_data['status'] in ['active', 'paused', 'pending', 'queued']:+ elif status_data['status'] in ['active', 'paused', 'pending', 'queued', 'waiting']:timeout=max(timeout,2)time.sleep(timeout) # Wait for the specified timeout before checking againelse:diff --git a/apps/python-sdk/dist/firecrawl-py-0.0.11.tar.gz b/apps/python-sdk/dist/firecrawl-py-0.0.11.tar.gzdeleted file mode 100644index 3dd82a93b..000000000Binary files a/apps/python-sdk/dist/firecrawl-py-0.0.11.tar.gz and /dev/null differdiff --git a/apps/python-sdk/dist/firecrawl-py-0.0.12.tar.gz b/apps/python-sdk/dist/firecrawl-py-0.0.12.tar.gznew file mode 100644index 000000000..83cd72218Binary files /dev/null and b/apps/python-sdk/dist/firecrawl-py-0.0.12.tar.gz differdiff --git a/apps/python-sdk/dist/firecrawl_py-0.0.11-py3-none-any.whl b/apps/python-sdk/dist/firecrawl_py-0.0.11-py3-none-any.whldeleted file mode 100644index 4d7e3aacd..000000000Binary files a/apps/python-sdk/dist/firecrawl_py-0.0.11-py3-none-any.whl and /dev/null differdiff --git a/apps/python-sdk/dist/firecrawl_py-0.0.12-py3-none-any.whl b/apps/python-sdk/dist/firecrawl_py-0.0.12-py3-none-any.whlnew file mode 100644index 000000000..b96c8f48cBinary files /dev/null and b/apps/python-sdk/dist/firecrawl_py-0.0.12-py3-none-any.whl differdiff --git a/apps/python-sdk/firecrawl/firecrawl.py b/apps/python-sdk/firecrawl/firecrawl.pyindex 6c0bc4150..3f50c7984 100644--- a/apps/python-sdk/firecrawl/firecrawl.py+++ b/apps/python-sdk/firecrawl/firecrawl.py@@ -273,7 +273,7 @@ class FirecrawlApp:return status_data['data']else:raise Exception('Crawl job completed but no data was returned')- elif status_data['status'] in ['active', 'paused', 'pending', 'queued']:+ elif status_data['status'] in ['active', 'paused', 'pending', 'queued', 'waiting']:timeout=max(timeout,2)time.sleep(timeout) # Wait for the specified timeout before checking againelse:diff --git a/apps/python-sdk/firecrawl_py.egg-info/PKG-INFO b/apps/python-sdk/firecrawl_py.egg-info/PKG-INFOindex 7d4b83503..288eb7a57 100644--- a/apps/python-sdk/firecrawl_py.egg-info/PKG-INFO+++ b/apps/python-sdk/firecrawl_py.egg-info/PKG-INFO@@ -1,6 +1,6 @@Metadata-Version: 2.1Name: firecrawl-py-Version: 0.0.11+Version: 0.0.12Summary: Python SDK for Firecrawl APIHome-page: https://github.com/mendableai/firecrawlAuthor: Mendable.ai@@ -151,6 +151,25 @@ status = app.check_crawl_status(job_id)The SDK handles errors returned by the Firecrawl API and raises appropriate exceptions. If an error occurs during a request, an exception will be raised with a descriptive error message.+## Running the Tests with Pytest++To ensure the functionality of the Firecrawl Python SDK, we have included end-to-end tests using `pytest`. These tests cover various aspects of the SDK, including URL scraping, web searching, and website crawling.++### Running the Tests++To run the tests, execute the following commands:++Install pytest:+```bash+pip install pytest+```++Run:+```bash+pytest firecrawl/__tests__/e2e_withAuth/test.py+```++## ContributingContributions to the Firecrawl Python SDK are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request on the GitHub repository.diff --git a/apps/python-sdk/firecrawl_py.egg-info/requires.txt b/apps/python-sdk/firecrawl_py.egg-info/requires.txtindex f2293605c..c8d341f54 100644--- a/apps/python-sdk/firecrawl_py.egg-info/requires.txt+++ b/apps/python-sdk/firecrawl_py.egg-info/requires.txt@@ -1 +1,3 @@requests+pytest+python-dotenvdiff --git a/apps/python-sdk/setup.py b/apps/python-sdk/setup.pyindex beee059de..b4b9b2fa5 100644--- a/apps/python-sdk/setup.py+++ b/apps/python-sdk/setup.py@@ -7,7 +7,7 @@ long_description_content = (this_directory / "README.md").read_text()setup(name="firecrawl-py",- version="0.0.11",+ version="0.0.12",url="https://github.com/mendableai/firecrawl",author="Mendable.ai",author_email="[email protected]",