Skip to content
forked from TommasU/slash

Slash is a tool that scrapes the most popular e-commerce websites to get the best deals on searched items across these websites.

License

Notifications You must be signed in to change notification settings

jashgopani/slash

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Slash your shopping bills, not your style

GitHub license DOI Github GitHub issues Github closes issues Github closed pull requests Pylint Python Style Checker

Slash is a tool that scrapes the most popular e-commerce websites to get the best deals on searched items across these websites.

  • Fast: With slash, you can save over 50% of your time by comparing deals across websites within seconds
  • Easy: Slash uses very easy commands to filter, sort and search your items
  • Powerful: Quickly alter the commands to get desired results

Checkout our newest Features! Mini Version and Full version now showcasing new sets of improvements.

πŸŽ₯ Demo

Slash Demo

❗ Needed Software

  1. Python 3 (Version 3.9.7 or lower)
  2. Pip
  3. Flask

πŸš€ Installation

πŸ’Ύ Initial Steps

  1. Access the Github repository from your computer.
  • First, pre-install git on your machine.
  • Then, clone the following repo:
https://github.com/jashgopani/slash.git
  • Finally, cd into the local repository.
cd slash
  1. Install the requirements.txt.
  • This project uses Python 3, so make sure that Python and Pip are preinstalled.
  • Install the requirements.txt file using pip.
pip3 install -r requirements.txt

πŸ”‘ Using the UI Version

  1. After completing the Initial Steps and all project dependencies are installed.

  2. Make sure you are in the base directory.

  3. Use the python -m flask run command.

MAC
export FLASK_APP=src/modules/app
python3 -m flask run

Windows
set FLASK_APP=src\modules\app
python -m flask run
  1. Once flask is running, open your internet browser and type http://127.0.0.1:5000/ into the search bar.

πŸ’« What's New in Phase 4

πŸ’» Updated UI

  1. UI looks more polished
  2. Added new components to the UI including:
    • Navbar
    • Filter bar
  3. Fixed responsiveness bugs with the search bar
  4. A smoother dropdown added to the UI
  5. New layout where there is no table. Instead, it is a grid layout.
  6. Responsive for any screen size, including smartphones.

πŸ“· Scraping images

We successfully scraped images from websites. This can be displayed in the UI.

πŸš— Created Diagram for Code Flow

Made a diagram to digest how the code flows for future contributors.

πŸ’Ώ: Deprecated Feature

We removed the command line interface as the UI is easier for the average user.

β›³ How to Use the UI

Search

There is a search bar that users will see when opening this application. Simply type the desired item in the box.

Sorting

You can sort by ratings or prices using the dropdown below the search bar.

Grid of Items

There is a grid of items that shows all the items including name, ratings, price, store name, and an image of the item.

πŸ’ͺ What's next for future development?

  • Creating ordering and payment functionality for customers to directly order from command line
  • Take coupons or promo codes into consideration
  • Provide parameters like in-store availability or inventory
  • Increase the number of filters.
  • Add login for the web version.
  • Host on a docker container

πŸ’­ Use Case

  • Students: Students coming to university are generally on a budget and time constraint and generally spend hours wasting time searching for products on Websites. Slash is the perfect tool for these students that slashes all the unnecessary details on a website and helps them get prices for a product across multiple websites. Make the most of this tool in the upcoming Black Friday Sale.
  • Data Analysts: Finding data for any project is a tedious job for a data analyst, and the datasets found might not be the most recent one. Using slash, they can create their own dataset in real time and format it as per their needs so that they can focus on what is actually important. On top of this, finding data can be easily automated to suit the data analysts needs.

πŸ“„ Why

  • In a market where we are spoilt for choices, we often look for the best deals.
  • The ubiquity of internet access has leveled the retail playing field, making it easy for individuals and businesses to sell products without geographic limitation. In 2020, U.S. e-commerce sales, receiving a boost due to the COVID-19 pandemic, grew 44% and represented more than 21% of total retail sales, according to e-commerce information source Internet Retailer.
  • The growth of e-commerce has not only changed the way customers shop, but also their expectations of how brands approach customer service, personalize communications, and provide customers choices.
  • E-commerce market has prompted cutthroat competition amongst dealers, which is discernable through the price patterns for products of major market players. Price cuts are somewhat of a norm now and getting the best deal for your money can sometimes be a hassle (even while online shopping).
  • This is what Slash aims to reduce by giving you an easy-to-use, all-in-one-place solution for finding the best deals for your products that major market dealers have to offer!
  • Slash in its current form is for people who have some understanding of Python and are comfortable with using the command line interface to interact with systems.
  • Future updates aim to encompass a wide variety of users irrespective of their computer knowledge and background.

πŸ’‘ Motivation

We saw potential in this as e-commerce is a very common tool that people use to buy online. Even so, it can be hard to find the best item based on ratings and prices. This usually requires several tabs for Amazon, Walmart, and other stores. With Slash, this can be made easy, which resonated with the group. We strived to add to this as we would like a fully functioning version of Slash in order to make shopping online easier.

✨ Contributors

  • Akhilesh Neeruganti
  • Jash Gopani
  • Rohan Ajmera
  • Hemil Mehta

πŸ“§ Support

For any queries and help, please reach out to us at: [email protected]

About

Slash is a tool that scrapes the most popular e-commerce websites to get the best deals on searched items across these websites.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 38.2%
  • PowerShell 30.8%
  • JavaScript 21.0%
  • C 5.7%
  • HTML 2.6%
  • Batchfile 1.6%
  • CSS 0.1%