Scrapping NSE website data and storing data into our database and serving in our a website
Python3, virtualenv en pip installed on your system.
- Download zip fie
- Go to the folder with
cd Stock-Scrapper-main
- Create 'python -m venv env' and Activate the virtualenv:
.env\Scripts\activate
- Download required files use
pip install -r requirements.txt
- Now run your server with
cd NSEscrapper_app -> python ./manage.py runserver
- Website running on localhost, port 8000.
- Go to the "spider" folder inside 'scrapper' and run
scrapy runspider crawller.py
- New Model is updated.
- Now run your server inside NSEscrapper_app with
python ./manage.py runserver