Skip to content

Arshpreet-Singh38/starting_price_lookup_mirrored

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Starting Price Lookup

OBJECTIVE: The Starting Price Lookup program is developed with an aim to automate the process of extracting information of the phone models that match given criteria on the CLI(Command-line interface).

DESCRITION: As a user starts the program a welcome message is displayed, followed by which the program navigates to Bell Smart Phone Homepage and waits for user inputs to the prompted questions.The program asks for the following OPTIONAL questions which can be skipped by entering '-1': Preferred Vendors (Multiple vendors can be provided, entering '-1' when done),Preferred lower and upper limit for 24 month monthly price at $0 down,Preferred lower and upper limit for Full Device price, Preferred Colors (Multiple colors can be provided, entering '-1' when done).

The program fetches the phone models which satisfy the search criteria, extracts and displays the details on the CLI(Command-line interface).

Assumptions: User input for the preferred color should be a valid color as the program doesn't check the preferred color with a range of valid colors. In addition, preferred color should be specific as 'Black' does not consider 'AppleBlack' or 'AppleJetBlack','Blue' does not consider 'DarkBlue'.

Instructions to run the project (Windows)

  1. Clone the project from GitHub.

  2. Download chromedriver: https://sites.google.com/a/chromium.org/chromedriver/downloads depending on the Chrome version.

  3. Extract the: chromedriver_win32.zip folder to get the: chromedriver.exe.

  4. Place the executable file: chromedriver.exe in C:\Windows for Python and Selenium to find it.

  • Skip steps 5-7 if pip already installed:
  1. Download get-pip.py to install pip: https://phoenixnap.com/kb/install-pip-windows

  2. Open Command Prompt and navigate to the location of the get-pip.py file

  3. To install pip, type

python get-pip.py
  1. Open Command Prompt

  2. To install Selenium Webdriver, type

pip install selenium
  1. Now go to the Project Directory via command prompt

  2. Now, to run the program, type

python source_price_lookup.py
  1. After execution, a welcome message will be displayed followed by loading the Bell Smartphone Homepage in the foreground.

  2. The questions will be prompted for user inputs that form the basis for search criteria.

Instructions to run the project (Linux)

  1. Clone the project from GitHub

  2. Install pip on Ubuntu

apt install python3-pip
  1. Install Selenium by executing the following command in Terminal:
pip install selenium
  1. Install Chromedriver for Chrome:
wget https://chromedriver.storage.googleapis.com/83.0.4103.39/chromedriver_linux64.zip
unzip chromedriver_linux64.zip
sudo mv chromedriver /usr/local/bin/
  1. Open Terminal

  2. Go to the Project Directory

  3. Now, to run the program, type

python source_price_lookup.py
  1. After execution, a welcome message will be displayed followed by loading the Bell Smartphone Homepage in the foreground.

  2. The questions will be prompted for user inputs that form the basis for search criteria.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages