Prepare
-
Download and install Python3
- You may want to use anaconda and create a separate conda environment for this demo asset. See here for information on installing miniconda.
-
Ensure that you have the python packages listed in assets/requirements.txt installed.
- You can run a simple
pip install -r requirements.txt
to install all of them at once. See the README in the assets folder for installation tips.
- You can run a simple
-
Create an IBM cloud account and sign up for watsonx. You can sign up for a free trail for watsonx.ai here.
-
Select free news sites that you would like to scrape. While subscription-based news services such as Bloomberg are also possible to scrape, the task becomes much more complicated. In this demo, we will scrape from CNN and CNBC.