Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 1.21 KB

README.md

File metadata and controls

20 lines (18 loc) · 1.21 KB

Best Price Finder

Basically just me messing with web scraping using BeautifulSoup

price.py

Finding the best deal on the web online section(網購) of Price.com.hk of your desired product, saving you time from going through all pages on the website just to look for the cheapest offering. Soldout items are all ignored as well. You can Hold Cmd (macOS)/Ctrl (Windows) and click on each result inside the terminal, the browser will be opened and redirect to the item's page on Price.com.hk. The result is sorted by the price, and also saved to a separate .txt file.

Installation

  1. Clone the repository to your local machine: git clone https://github.com/[YOUR-USERNAME]/best-price-finder.git
  2. Navigate to the project directory: cd best-price-finder
  3. Install the required dependencies using pip and the requirements.txt file: pip install -r requirements.txt
  4. Run the price.py script and follow the prompts: python price.py

Note: If you encounter any issues with installing the dependencies, make sure you have pip installed and that it is up-to-date by running pip install --upgrade pip.