amazon-scraper-vivektyagi


Nameamazon-scraper-vivektyagi JSON
Version 0.1.4 PyPI version JSON
download
home_pageNone
SummaryA Python module to scrape product details from Amazon India using Selenium.
upload_time2025-07-18 20:23:57
maintainerNone
docs_urlNone
authorVIVEK TYAGI
requires_python>=3.7
licenseNone
keywords amazon scraper selenium india
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # amazon_scraper

A simple and powerful Amazon.in product scraper built using Python and Selenium.  
It fetches product **title**, **price**, **rating**, **reviews**, and **image URL** using ASIN.

---

## ๐Ÿš€ Features

- ๐Ÿ” Scrape product details from [Amazon India](https://www.amazon.in)
- ๐Ÿ“ฆ Supports single or multiple ASINs
- ๐Ÿงผ Automatically handles browser setup and teardown
- ๐Ÿ’ก Lightweight and easy to use

---

## ๐Ÿ“ฆ Installation

### From PyPI (Public):
```bash
pip install amazon-scraper

Scrape a single product

from amazon_scraper_vivektyagi import get_amazon_product_details

data = get_amazon_product_details("B0C1234567")
print(data)

Scrape multiple products

from amazon_scraper_vivektyagi import get_multiple_product_details

asins = ["B0C1234567", "B0D7654321"]
results = get_multiple_product_details(asins)

for product in results:
    print(product)

โœ… Output Format
{
    'ASIN': 'B0C1234567',
    'Title': 'Sample Product Title',
    'Price': 'โ‚น1,299.00',
    'Rating': '4.3 out of 5 stars',
    'Reviews': '345',
    'Image': 'https://m.media-amazon.com/images/I/xxxxx.jpg'
}

๐Ÿ“„ Requirements

Python 3.6 or higher

Google Chrome installed

ChromeDriver (auto-installed via webdriver-manager)

Install dependencies:

pip install selenium beautifulsoup4 webdriver-manager

๐Ÿ” Private Access Option

If you want to limit access:

โœ… Upload to a private GitHub repo and install with a personal token

โœ… Use tools like AWS CodeArtifact, JFrog Artifactory, or Cloudsmith

โœ… Or publish on TestPyPI instead of public PyPI

Want help with private publishing? Message the author.

๐Ÿ‘ค Author
Vivek Tyagi


๐Ÿ“„ License
This project is licensed under the MIT License.

โš ๏ธ Disclaimer
This tool is for educational purposes. Scraping Amazon may violate their terms of service. Use responsibly.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "amazon-scraper-vivektyagi",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "amazon scraper selenium india",
    "author": "VIVEK TYAGI",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/60/88/2c5a38cb9a308e13a254dc6466511755389a6d0c2223a16a7f353f892ba2/amazon_scraper_vivektyagi-0.1.4.tar.gz",
    "platform": null,
    "description": "# amazon_scraper\r\n\r\nA simple and powerful Amazon.in product scraper built using Python and Selenium.  \r\nIt fetches product **title**, **price**, **rating**, **reviews**, and **image URL** using ASIN.\r\n\r\n---\r\n\r\n## \ud83d\ude80 Features\r\n\r\n- \ud83d\udd0d Scrape product details from [Amazon India](https://www.amazon.in)\r\n- \ud83d\udce6 Supports single or multiple ASINs\r\n- \ud83e\uddfc Automatically handles browser setup and teardown\r\n- \ud83d\udca1 Lightweight and easy to use\r\n\r\n---\r\n\r\n## \ud83d\udce6 Installation\r\n\r\n### From PyPI (Public):\r\n```bash\r\npip install amazon-scraper\r\n\r\nScrape a single product\r\n\r\nfrom amazon_scraper_vivektyagi import get_amazon_product_details\r\n\r\ndata = get_amazon_product_details(\"B0C1234567\")\r\nprint(data)\r\n\r\nScrape multiple products\r\n\r\nfrom amazon_scraper_vivektyagi import get_multiple_product_details\r\n\r\nasins = [\"B0C1234567\", \"B0D7654321\"]\r\nresults = get_multiple_product_details(asins)\r\n\r\nfor product in results:\r\n    print(product)\r\n\r\n\u2705 Output Format\r\n{\r\n    'ASIN': 'B0C1234567',\r\n    'Title': 'Sample Product Title',\r\n    'Price': '\u20b91,299.00',\r\n    'Rating': '4.3 out of 5 stars',\r\n    'Reviews': '345',\r\n    'Image': 'https://m.media-amazon.com/images/I/xxxxx.jpg'\r\n}\r\n\r\n\ud83d\udcc4 Requirements\r\n\r\nPython 3.6 or higher\r\n\r\nGoogle Chrome installed\r\n\r\nChromeDriver (auto-installed via webdriver-manager)\r\n\r\nInstall dependencies:\r\n\r\npip install selenium beautifulsoup4 webdriver-manager\r\n\r\n\ud83d\udd10 Private Access Option\r\n\r\nIf you want to limit access:\r\n\r\n\u2705 Upload to a private GitHub repo and install with a personal token\r\n\r\n\u2705 Use tools like AWS CodeArtifact, JFrog Artifactory, or Cloudsmith\r\n\r\n\u2705 Or publish on TestPyPI instead of public PyPI\r\n\r\nWant help with private publishing? Message the author.\r\n\r\n\ud83d\udc64 Author\r\nVivek Tyagi\r\n\r\n\r\n\ud83d\udcc4 License\r\nThis project is licensed under the MIT License.\r\n\r\n\u26a0\ufe0f Disclaimer\r\nThis tool is for educational purposes. Scraping Amazon may violate their terms of service. Use responsibly.\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A Python module to scrape product details from Amazon India using Selenium.",
    "version": "0.1.4",
    "project_urls": null,
    "split_keywords": [
        "amazon",
        "scraper",
        "selenium",
        "india"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "f72abde1f0048a228448c95713fd35e8017c4e71cbce4861e35e02db15cf0d3c",
                "md5": "cedfbfcb6497e59b4a9ce72e41465e2d",
                "sha256": "d59e055c0d75fe0ef7781db1b13f1ac69f46b93e1687f0de496f6db9764678d1"
            },
            "downloads": -1,
            "filename": "amazon_scraper_vivektyagi-0.1.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cedfbfcb6497e59b4a9ce72e41465e2d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 3921,
            "upload_time": "2025-07-18T20:23:56",
            "upload_time_iso_8601": "2025-07-18T20:23:56.854892Z",
            "url": "https://files.pythonhosted.org/packages/f7/2a/bde1f0048a228448c95713fd35e8017c4e71cbce4861e35e02db15cf0d3c/amazon_scraper_vivektyagi-0.1.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "60882c5a38cb9a308e13a254dc6466511755389a6d0c2223a16a7f353f892ba2",
                "md5": "67c5f58ab6fde4abf13a17d08e7953ae",
                "sha256": "c4f62db189e1a6d59cec0789eb3eabebe43a85a4c84c7b08565962dbb2ca94a8"
            },
            "downloads": -1,
            "filename": "amazon_scraper_vivektyagi-0.1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "67c5f58ab6fde4abf13a17d08e7953ae",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 3498,
            "upload_time": "2025-07-18T20:23:57",
            "upload_time_iso_8601": "2025-07-18T20:23:57.853675Z",
            "url": "https://files.pythonhosted.org/packages/60/88/2c5a38cb9a308e13a254dc6466511755389a6d0c2223a16a7f353f892ba2/amazon_scraper_vivektyagi-0.1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-18 20:23:57",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "amazon-scraper-vivektyagi"
}
        
Elapsed time: 0.65181s