From 0c1889c7132e60b2b85de410d8c7c047020354b4 Mon Sep 17 00:00:00 2001 From: Mazen Ramadan Date: Tue, 16 Jul 2024 17:48:13 +0300 Subject: [PATCH] docs: fix parameter typo in scrapfly loader docs (#24307) Fixed wrong parameter typo in [ScrapflyLoader](https://github.com/langchain-ai/langchain/blob/master/libs/community/langchain_community/document_loaders/scrapfly.py) docs, where `ignore_scrape_failures` is used instead of `continue_on_failure`. - Description: Fix wrong param typo in ScrapflyLoader docs. --- docs/docs/integrations/document_loaders/scrapfly.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/integrations/document_loaders/scrapfly.ipynb b/docs/docs/integrations/document_loaders/scrapfly.ipynb index 2625e3d3fb9..0f37335925d 100644 --- a/docs/docs/integrations/document_loaders/scrapfly.ipynb +++ b/docs/docs/integrations/document_loaders/scrapfly.ipynb @@ -37,7 +37,7 @@ "scrapfly_loader = ScrapflyLoader(\n", " [\"https://web-scraping.dev/products\"],\n", " api_key=\"Your ScrapFly API key\", # Get your API key from https://www.scrapfly.io/\n", - " ignore_scrape_failures=True, # Ignore unprocessable web pages and log their exceptions\n", + " continue_on_failure=True, # Ignore unprocessable web pages and log their exceptions\n", ")\n", "\n", "# Load documents from URLs as markdown\n", @@ -72,7 +72,7 @@ "scrapfly_loader = ScrapflyLoader(\n", " [\"https://web-scraping.dev/products\"],\n", " api_key=\"Your ScrapFly API key\", # Get your API key from https://www.scrapfly.io/\n", - " ignore_scrape_failures=True, # Ignore unprocessable web pages and log their exceptions\n", + " continue_on_failure=True, # Ignore unprocessable web pages and log their exceptions\n", " scrape_config=scrapfly_scrape_config, # Pass the scrape_config object\n", " scrape_format=\"markdown\", # The scrape result format, either `markdown`(default) or `text`\n", ")\n",