Skip to content

About

Track Pixel 10 Pro prices across different countries and currencies, convert them to SGD and compare prices easily.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Phone Price Tracker

Track Pixel 10 Pro prices across different countries and currencies, convert them to SGD and compare prices easily.


Overview

This project scrapes the official Google Store for the Pixel 10 Pro prices in multiple countries, handles currency conversion to SGD and generates a report highlighting the cheapest regions. It also manages scenarios where the product is out of stock or exchange rates fail.


Features

  • Scrapes Google Store prices across multiple countries
  • Automatically converts all prices to SGD
  • Uses fallback exchange rates if live API fails
  • Identifies the top 3 cheapest regions
  • Reports countries with no stock or parsing errors
  • Displays all prices, exchange rates and notes in a formatted report
  • Lightweight, fully automated and easy to extend to other products

Getting Started

  1. Clone the repository
git clone https://github.com/yourusername/phone-price-tracker.git
cd phone-price-tracker
  1. Install dependencies
pip install -r requirements.txt
  1. Run the app
python main.py

The script will scrape each region, convert prices to SGD and print a report with top 3 countries, full price list, countries with no stock and exchange rate summary.


Output

  • Top 3 Countries: Lists the three cheapest regions for Pixel 10 Pro
  • Full Price List: Shows all regions with price in SGD, original currency, exchange rate and notes
  • No Stock: Lists regions where the phone is unavailable
  • Exchange Rates Used: Shows the rates used for conversion and indicates any fallback rates
  • Disclaimer: Notes that taxes and duties are not included

Dependencies

  • selenium → For web scraping
  • requests → For fetching exchange rates
  • python-dotenv → Optional, if you plan to use environment variables
  • chromedriver (compatible with your Chrome version)

Python version recommended: 3.10+


Notes

  • Selenium runs in headless mode for fast scraping.
  • Exchange rates are fetched using Frankfurter API; fallback rates are used if the API fails.
  • You can easily extend the REGIONS dictionary to add more countries or products.
  • Ensure chromedriver is installed and available in your PATH.

Disclaimer

  • Prices may change frequently; this tool provides a snapshot at the time of scraping.
  • Taxes, import duties and shipping fees are not included in the displayed prices.

License

This project is licensed under the MIT License.

About

Track Pixel 10 Pro prices across different countries and currencies, convert them to SGD and compare prices easily.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages