mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
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.
This commit is contained in:
parent
5fcf2ef7ca
commit
0c1889c713
@ -37,7 +37,7 @@
|
|||||||
"scrapfly_loader = ScrapflyLoader(\n",
|
"scrapfly_loader = ScrapflyLoader(\n",
|
||||||
" [\"https://web-scraping.dev/products\"],\n",
|
" [\"https://web-scraping.dev/products\"],\n",
|
||||||
" api_key=\"Your ScrapFly API key\", # Get your API key from https://www.scrapfly.io/\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",
|
||||||
"\n",
|
"\n",
|
||||||
"# Load documents from URLs as markdown\n",
|
"# Load documents from URLs as markdown\n",
|
||||||
@ -72,7 +72,7 @@
|
|||||||
"scrapfly_loader = ScrapflyLoader(\n",
|
"scrapfly_loader = ScrapflyLoader(\n",
|
||||||
" [\"https://web-scraping.dev/products\"],\n",
|
" [\"https://web-scraping.dev/products\"],\n",
|
||||||
" api_key=\"Your ScrapFly API key\", # Get your API key from https://www.scrapfly.io/\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_config=scrapfly_scrape_config, # Pass the scrape_config object\n",
|
||||||
" scrape_format=\"markdown\", # The scrape result format, either `markdown`(default) or `text`\n",
|
" scrape_format=\"markdown\", # The scrape result format, either `markdown`(default) or `text`\n",
|
||||||
")\n",
|
")\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user