Using Python to get news articles from a web page (Quartz Africa).
- BeautifulSoup 4 (bs4) - installation instructions @ https://pypi.org/project/beautifulsoup4/
- Requests (requests) - installation instructions @ http://docs.python-requests.org/en/master/
- Pandas (pandas) - installation instructions @ https://pandas.pydata.org/
- Jupyter Notebook
- Inspect page (right-click on page, select "Inspect" - for Windows)
- Open page link with requests
- Parse page content with BeautifulSoup
- Extract info from HTML components in parsed page
- Save as a data frame
Check out the project write-up on Medium, and be sure to give a clap, and/or leave a helpful comment!