/procompare

compare the product with different online store and buy the best one

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

procompare

Compare the product with different online store and buy the best one

Requirements

pip install -r requirements.txt

Uses

python main.py

Example

python main.py
Enter product name: Redmi
Output:

Flipkart Result <br>
[ 1 ]  Name: Redmi 8 (Sapphire Blue, 64 GB), Price: ₹9,799, Rating: 4.4

[ 2 ]  Name: Redmi 8 (Onyx Black, 64 GB), Price: ₹9,799, Rating: 4.4

[ 3 ]  Name: Redmi K20 Pro (Flame Red, 128 GB), Price: ₹24,999, Rating: 4.5

[ 4 ]  Name: Redmi Note 8 (Moonlight White, 128 GB), Price: ₹16,499, Rating: 4.4

[ 5 ]  Name: Redmi K20 Pro (Carbon Black, 128 GB), Price: ₹24,999, Rating: 4.5

[ 6 ]  Name: Redmi K20 Pro (Glacier Blue, 128 GB), Price: ₹24,999, Rating: 4.5

[ 7 ]  Name: Redmi Note 7 Pro (Space Black, 128 GB), Price: ₹17,999, Rating: 4.4

[ 8 ]  Name: Redmi K20 Pro (Pearl White, 128 GB), Price: ₹24,999, Rating: 4.5

[ 9 ]  Name: Redmi K20 Pro (Flame Red, 256 GB), Price: ₹29,999, Rating: 4.5

[ 10 ]  Name: Redmi Note 6 Pro (Black, 64 GB), Price: ₹16,495, Rating: 4.5

[ 11 ]  Name: Redmi K20 Pro (Carbon Black, 256 GB), Price: ₹29,999, Rating: 4.5

[ 12 ]  Name: Redmi Note 8 Pro (Halo White, 128 GB), Price: ₹16,999, Rating: 4.4

[ 13 ]  Name: Redmi Note 8 Pro (Halo White, 64 GB), Price: ₹15,999, Rating: 4.4

[ 14 ]  Name: Redmi K20 (Carbon Black, 64 GB), Price: ₹21,999, Rating: 4.5

[ 15 ]  Name: Redmi Note 6 Pro (Rose Gold, 64 GB), Price: ₹16,675, Rating: 4.5

[ 16 ]  Name: Redmi K20 Pro (Pearl White, 256 GB), Price: ₹29,999, Rating: 4.5

[ 17 ]  Name: Redmi K20 (Glacier Blue, 128 GB), Price: ₹24,999, Rating: 4.5

[ 18 ]  Name: Redmi K20 (Flame Red, 128 GB), Price: ₹24,999, Rating: 4.5

[ 19 ]  Name: Redmi 6 Pro (Gold, 64 GB), Price: ₹13,495, Rating: 4.3

[ 20 ]  Name: Redmi K20 (Carbon Black, 128 GB), Price: ₹24,999, Rating: 4.5

[ 21 ]  Name: Redmi K20 (Pearl White, 128 GB), Price: ₹24,999, Rating: 4.5

[ 22 ]  Name: Redmi Note 5 Pro (Red, 64 GB), Price: ₹16,999, Rating: 4.5

[ 23 ]  Name: Redmi Y2 (Rose Gold, 32 GB), Price: ₹8,689, Rating: 4.5

[ 24 ]  Name: Redmi Note 5 Pro (Black, 64 GB), Price: ₹13,999, Rating: 4.5

-----------------------------------------------
Select a Product (1- 24 ) :  1
------------------------------------------------


                 COMPARISON RESULT         
+------------+---------------------------------------------------------+--------------+----------+
|            | Item                                                    | Price        |   Rating |
+============+=========================================================+==============+==========+

| Amazon :   | Mi Redmi 8 Phone (Sapphire Blue, 4GB RAM, 64GB Storage) | Out of Stock |      3.9 |
+------------+---------------------------------------------------------+--------------+----------+

| Flipkart : | Redmi 8 (Sapphire Blue, 64 GB)                          | ₹9,799       |      4.4 |
+------------+---------------------------------------------------------+--------------+----------+