Skip to content

Commit 215e74f

Browse files
committed
content/web-apis: Fix links, warning about bs4
- Fix to intersphinx links - Warning that bs4 may not be available
1 parent 33ee7f1 commit 215e74f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/web-apis.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"\n",
7575
"You can even test this in your web browser: <https://catfact.ninja/fact>\n",
7676
"\n",
77-
"Using the Requests library, we do this with {meth}`~requests.get`."
77+
"Using the Requests library, we do this with {func}`~requests.get`."
7878
]
7979
},
8080
{
@@ -192,7 +192,7 @@
192192
"source": [
193193
"URLs containing parameters can always be constructed manually using the _&_ character and then listing the parameter (_key_, _value_) pairs as above.\n",
194194
"\n",
195-
"However, _Requests_ allows us to provide the parameters as a dictionary of strings, using the _params_ keyword argument to {meth}`~requests.get`. This is easier to read and less error-prone."
195+
"However, _Requests_ allows us to provide the parameters as a dictionary of strings, using the _params_ keyword argument to {func}`~requests.get`. This is easier to read and less error-prone."
196196
]
197197
},
198198
{
@@ -478,7 +478,7 @@
478478
"\n",
479479
":::{exercise} Exercise WebAPIs-3: Scrape links from a webpage (Advanced)\n",
480480
"\n",
481-
"Let's use _Requests_ to get the HTML source code of www.example.com, examine it, and use the [Beautiful Soup](https://www.crummy.com/software/BeautifulSoup/bs4/doc/) library to extract links from it.\n",
481+
"Let's use _Requests_ to get the HTML source code of www.example.com, examine it, and use the [Beautiful Soup](https://www.crummy.com/software/BeautifulSoup/bs4/doc/) library to extract links from it. **Note:** This requires the extra `bs4` Python package to be installed, which was not in our initial requirements. Consider this a demo.\n",
482482
":::"
483483
]
484484
},

0 commit comments

Comments
 (0)