Skip to content

Commit 0c1889c

Browse files
authored
docs: fix parameter typo in scrapfly loader docs (langchain-ai#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.
1 parent 5fcf2ef commit 0c1889c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/docs/integrations/document_loaders/scrapfly.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"scrapfly_loader = ScrapflyLoader(\n",
3838
" [\"https://web-scraping.dev/products\"],\n",
3939
" api_key=\"Your ScrapFly API key\", # Get your API key from https://www.scrapfly.io/\n",
40-
" ignore_scrape_failures=True, # Ignore unprocessable web pages and log their exceptions\n",
40+
" continue_on_failure=True, # Ignore unprocessable web pages and log their exceptions\n",
4141
")\n",
4242
"\n",
4343
"# Load documents from URLs as markdown\n",
@@ -72,7 +72,7 @@
7272
"scrapfly_loader = ScrapflyLoader(\n",
7373
" [\"https://web-scraping.dev/products\"],\n",
7474
" api_key=\"Your ScrapFly API key\", # Get your API key from https://www.scrapfly.io/\n",
75-
" ignore_scrape_failures=True, # Ignore unprocessable web pages and log their exceptions\n",
75+
" continue_on_failure=True, # Ignore unprocessable web pages and log their exceptions\n",
7676
" scrape_config=scrapfly_scrape_config, # Pass the scrape_config object\n",
7777
" scrape_format=\"markdown\", # The scrape result format, either `markdown`(default) or `text`\n",
7878
")\n",

0 commit comments

Comments
 (0)