A Python module to scrape product details from Amazon India using Selenium.
Project description
#amazon_scraper
A simple and powerful multi-country Amazon product scraper built using Python and Selenium. It fetches product details like Title, Price, Bought, Rating, Reviews, Image URL, Brand, Category Ranks, and checks for Product Description and From the Manufacturer sections using ASINs.
##🚀 Features
🌍 Scrape from any Amazon marketplace by passing country_code (e.g., in, us, ae, uk) 🔍 Fetch detailed product info: Title Price Bought Rating Reviews Image URL Brand Parent Category Rank Child Category Rank Product Description Available From the Manufacturer Available
📦 Supports single or multiple ASINs 🧼 Automatically handles browser setup and teardown 💡 Lightweight and easy to use
##📦 Installation ###From PyPI: pip install amazon-scraper-vivektyagi
💻 Usage Scrape a single product from amazon_scraper_vivektyagi import get_amazon_product_details
data = get_amazon_product_details("B0C1234567", country_code="in") print(data)
Scrape multiple products
from amazon_scraper_vivektyagi import get_multiple_product_details asins = ["B0C1234567", "B0D7654321"] results = get_multiple_product_details(asins, country_code="ae")
for product in results: print(product)
✅ Output Format { 'ASIN': 'B0C1234567', 'Title': 'Sample Product Title', 'Price': '₹1,299.00', 'Bought':'200', 'Rating': '4.3 out of 5 stars', 'Reviews': '345', 'Image': 'https://m.media-amazon.com/images/I/xxxxx.jpg', 'Brand': 'Sample Brand', 'Parent_Category_Rank': '#12 in Electronics', 'Child_Category_Rank': '#1 in Headphones', 'Product_Description': 'Yes', 'From_Manufacturer': 'No' }
📄 Requirements Python 3.6 or higher Google Chrome installed ChromeDriver (auto-installed via webdriver-manager)
Install dependencies: pip install selenium beautifulsoup4 webdriver-manager
👤 Author Vivek Tyagi
📄 License This project is licensed under the MIT License.
⚠️ Disclaimer This tool is for educational purposes only. Scraping Amazon may violate their Terms of Service. Use responsibly.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file amazon_scraper_vivektyagi-0.1.12.tar.gz.
File metadata
- Download URL: amazon_scraper_vivektyagi-0.1.12.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06c4b85b93e921611461ee890d6149c0eedc3dd41476d56414cc0810b1e2318d
|
|
| MD5 |
e12d5f3ee16ad6b0cd5fd68334bcd6bc
|
|
| BLAKE2b-256 |
91ed1059b8b8fbcdce388e1a87c0e50cd1d6d635d4308b0b03007b4d5543f01e
|
File details
Details for the file amazon_scraper_vivektyagi-0.1.12-py3-none-any.whl.
File metadata
- Download URL: amazon_scraper_vivektyagi-0.1.12-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bac484bc649b496deae4a3fc9eafc43c28e30f773a8369b750558cd5911fc9f
|
|
| MD5 |
29c65799c861f9ea760e1c59ec7d64c6
|
|
| BLAKE2b-256 |
787f5fb31b968a3bdb88894b8a488b6637b6b328a08c0d8e59ad7108097625ad
|