Stock Price Scraper
Web scraper utilizing scrapy to scrape live stock prices from the Nairobi Stock Exchange. The prices are then saved in Postgres Database after each scrape, we use sqlalchemy as ORM and psycopg2 as database connector. The actual platform we are scraping is afx website.
Getting Started
Prerequisites
- Python and pip (I am currently using 3.9.2) Any version above 3.5 should work.
- An Africas Talking account.
- Api Key and username from your account. Create an app and take note of the api key.
- Postgresql Database.