Coder Social home page Coder Social logo

price-tracking-tool's Introduction

Getting Started ๐Ÿ˜Ž

Simple Price Tracking Tool for Nordstrom Rack

A simple Python script that checks the availability of an item every 15 seconds. Alerts the user when the out-of-stock product is back in stock.

Note: Still working on the price tracking part.

Installation

Use pip to install all the necessary packages to run the getPrice.py file.

python3 -m pip install -r requirements.txt
or
pip3 install -r requirements.txt

Usage

To run the script execute this command:

python3 getPrice.py links.txt

or you can execute this script using your Editor(don't forget about the links.txt file).

All the product URLs should be in the links.txt file.

For ex: links.txt file. I recommend using these links when you first try to run the script.

https://www.nordstromrack.com/shop/product/2846964/reigning-champ-gym-logo-sweatshirt?color=H%20GREY%2FBLACK&size=SMALL
https://www.nordstromrack.com/s/nike-star-runner-2-sneaker/n2897218?color=001%20BLACK%2FWHITE
https://www.nordstromrack.com/shop/product/2846964/reigning-champ-gym-logo-sweatshirt?color=NAVY%2FWHITE&size=SMALL
https://www.nordstromrack.com/shop/product/2846964/reigning-champ-gym-logo-sweatshirt?color=BLACK%2FWHITE&size=SMALL
https://www.nordstromrack.com/s/n2846

After you run the script the output should look like this:

Status: sold out, URL: https://www.nordstromrack.com/shop/product/2846964/reigning-champ-gym-logo-sweatshirt?color=H%20GREY%2FBLACK&size=SMALL
Status: in stock, URL: https://www.nordstromrack.com/s/nike-star-runner-2-sneaker/n2897218?color=001%20BLACK%2FWHITE
Status: sold out, URL: https://www.nordstromrack.com/shop/product/2846964/reigning-champ-gym-logo-sweatshirt?color=NAVY%2FWHITE&size=SMALL
Status: sold out, URL: https://www.nordstromrack.com/shop/product/2846964/reigning-champ-gym-logo-sweatshirt?color=BLACK%2FWHITE&size=SMALL
There is something wrong with this URL https://www.nordstromrack.com/s/n2846

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

price-tracking-tool's People

Contributors

alymdu avatar

Stargazers

 avatar PP avatar  avatar

Watchers

 avatar

price-tracking-tool's Issues

Check Product's Availability

Can you add a function to check whether an out-of-stock product is back in stock? Also, I am not sure how to install the package with pip, could you elaborate on that a bit? Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.