There are 2 scripts in this project-
- fetcher.py - This script is used to scrape course data from udemy based on the category entered as input by the user
- display.py - This script is used to display the scraped courses from the database to the terminal
In order to run this script, you need to have Python and pip installed on your system. After you're done installing Python and pip, run the following command from your terminal to install the requirements from the same folder (directory) of the project.
pip install -r requirements.txt
After satisfying all the requirements for the project, Open the terminal in the project folder and run
python fetcher.py
python display.py
or
python3 fetcher.py
python3 display.py
depending upon the python version. Make sure that you are running the command from the same virtual environment in which the required modules are installed.