Update web_base.ipynb for guiding purposes (#6248)

To bypass SSL verification errors during fetching, you can include the
`verify=False` parameter. This markdown proves useful, especially for
beginners in the field of web scraping.

<!--
Thank you for contributing to LangChain! Your PR will appear in our
release under the title you set. Please make sure it highlights your
valuable contribution.

Replace this with a description of the change, the issue it fixes (if
applicable), and relevant context. List any dependencies required for
this change.

After you're done, someone will review your PR. They may suggest
improvements. If no one reviews your PR within a few days, feel free to
@-mention the same people again, as notifications can get lost.

Finally, we'd love to show appreciation for your contribution - if you'd
like us to shout you out on Twitter, please also include your handle!
-->

Fixes #6079 

#### Who can review?

Tag maintainers/contributors who might be interested:
@hwchase17 
@eyurtsev

---------

Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
This commit is contained in:
Dhruvil Shah 2023-06-18 17:47:10 -07:00 committed by GitHub
parent 92f05a67a4
commit ba90e3c990
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,6 +30,15 @@
"loader = WebBaseLoader(\"https://www.espn.com/\")" "loader = WebBaseLoader(\"https://www.espn.com/\")"
] ]
}, },
{
"cell_type": "markdown",
"id": "c162b300-5f4b-4e37-bab3-17f590fc07cc",
"metadata": {},
"source": [
"To bypass SSL verification errors during fetching, you can set the \"verify\" option:\n",
"loader.requests_kwargs = {'verify':False}"
]
},
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 3, "execution_count": 3,