{"id":28331198,"url":"https://github.com/mariam-khediri/amazon-scraper","last_synced_at":"2026-05-08T00:33:06.856Z","repository":{"id":293312585,"uuid":"983620207","full_name":"mariam-khediri/amazon-scraper","owner":"mariam-khediri","description":"A configurable web scraper that extracts product data from Amazon while evading bot detection","archived":false,"fork":false,"pushed_at":"2025-05-15T15:13:58.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-18T13:45:54.209Z","etag":null,"topics":["custom-chrome-flags","pandas","python","selenium","selenium-webdriver","webdriver-manager"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mariam-khediri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-14T16:50:54.000Z","updated_at":"2025-05-20T23:04:25.000Z","dependencies_parsed_at":"2025-05-14T18:46:33.613Z","dependency_job_id":"5eadfd13-b7ae-4bea-afdd-f7b0e004ddf9","html_url":"https://github.com/mariam-khediri/amazon-scraper","commit_stats":null,"previous_names":["mariam-khediri/amazon-scraper"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mariam-khediri/amazon-scraper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariam-khediri%2Famazon-scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariam-khediri%2Famazon-scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariam-khediri%2Famazon-scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariam-khediri%2Famazon-scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mariam-khediri","download_url":"https://codeload.github.com/mariam-khediri/amazon-scraper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariam-khediri%2Famazon-scraper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32762092,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["custom-chrome-flags","pandas","python","selenium","selenium-webdriver","webdriver-manager"],"created_at":"2025-05-26T18:28:53.701Z","updated_at":"2026-05-08T00:33:06.827Z","avatar_url":"https://github.com/mariam-khediri.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Amazon Product Scraper with Selenium\n\n![Python](https://img.shields.io/badge/python-3.8%2B-blue)\n![Selenium](https://img.shields.io/badge/selenium-4.15.2-red)\n\n\nA configurable web scraper that extracts product data from Amazon while evading bot detection.\n\n## Features\n\n- **Stealth scraping** with anti-detection techniques\n- **CAPTCHA handling** with manual intervention support\n- **CSV export** of product data (title, price, rating)\n- **Pagination support** for multi-page scraping\n- **Human-like behavior** with randomized delays\n\n## Tech Stack\n\n| Component | Technology |\n|-----------|------------|\n| Core Language | Python 3.8+ |\n| Browser Automation | Selenium WebDriver |\n| Chrome Management | webdriver-manager |\n| Data Export | pandas |\n| Anti-Detection | Custom Chrome flags |\n\n## Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/yourusername/amazon-scraper.git\n   cd amazon-scraper\n   ```\n\n2. Set up virtual environment:\n   ```bash\n   python -m venv venv\n   source venv/bin/activate  # Linux/Mac\n   venv\\Scripts\\activate     # Windows\n   ```\n\n3. Install dependencies:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n## Configuration\n\nEdit `config.py`:\n```python\nSEARCH_TERM = \"wireless headphones\"  # Your target product\nBASE_URL = \"https://www.amazon.com\"  # Regional domain if needed\nMAX_PAGES = 3                        # Pages to scrape\n```\n\n## Usage\n\nRun the scraper:\n```bash\npython scraper.py\n```\n\nFor debugging:\n```bash\npython -u scraper.py  # Unbuffered output\n```\n\n## File Structure\n\n```\namazon-scraper/\n├── scraper.py         # Main scraping logic\n├── config.py          # Configuration settings\n├── requirements.txt   # Dependencies\n└── outputs/           # Generated CSV files\n```\n\n## Legal Disclaimer\n\nThis project is for educational purposes only. Always:\n- Check Amazon's Terms of Service\n- Respect robots.txt rules\n- Limit request frequency\n- Consider using official APIs when available\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmariam-khediri%2Famazon-scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmariam-khediri%2Famazon-scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmariam-khediri%2Famazon-scraper/lists"}