pyBegin / projects / amazon-product-availbility-checker
📈

Amazon Product Availability Checker

A console script that fetches an Amazon product page, parses it with BeautifulSoup, and reports whether the product is in stock.

35 lines🖥 Desktop only

Amazon Product Availability Checker

A console script that fetches an Amazon product page, parses it with BeautifulSoup, and reports whether the product is in stock.

Before running, edit amazon.py:

How to run

pip install requests beautifulsoup4
python amazon.py

Dependencies

Pyodide-runnable

No. It makes a live HTTP request to Amazon, and browsers block cross-origin scraping requests, so it cannot run in the in-browser Pyodide playground.