{"id":31740380,"url":"https://github.com/nikhleshshukla123/web-scraping-using-python","last_synced_at":"2026-05-03T10:35:58.315Z","repository":{"id":317869338,"uuid":"1069159098","full_name":"Nikhleshshukla123/Web-Scraping-Using-Python","owner":"Nikhleshshukla123","description":"scrapes multiple pages of Amazon search results using python.","archived":false,"fork":false,"pushed_at":"2025-10-03T14:09:17.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-03T16:10:05.041Z","etag":null,"topics":["beautifulsoup4","numpy","pandas","python"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/Nikhleshshukla123.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-03T13:50:10.000Z","updated_at":"2025-10-03T14:09:20.000Z","dependencies_parsed_at":"2025-10-03T16:20:47.393Z","dependency_job_id":null,"html_url":"https://github.com/Nikhleshshukla123/Web-Scraping-Using-Python","commit_stats":null,"previous_names":["nikhleshshukla123/web-scraping-using-python"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Nikhleshshukla123/Web-Scraping-Using-Python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikhleshshukla123%2FWeb-Scraping-Using-Python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikhleshshukla123%2FWeb-Scraping-Using-Python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikhleshshukla123%2FWeb-Scraping-Using-Python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikhleshshukla123%2FWeb-Scraping-Using-Python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nikhleshshukla123","download_url":"https://codeload.github.com/Nikhleshshukla123/Web-Scraping-Using-Python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikhleshshukla123%2FWeb-Scraping-Using-Python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001320,"owners_count":26083040,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["beautifulsoup4","numpy","pandas","python"],"created_at":"2025-10-09T10:18:25.565Z","updated_at":"2025-10-09T10:18:26.473Z","avatar_url":"https://github.com/Nikhleshshukla123.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Amazon Product Scraper\n\n## Project Overview\nThis project is a Python-based web scraper that collects product information from Amazon search results. Using **Requests** and **BeautifulSoup**, it extracts details such as product title, price, rating, number of reviews, and availability status, and saves the data into a CSV file for further analysis.\n\n---\n\n## Features\n- Scrapes multiple pages of Amazon search results.  \n- Extracts product information:\n  - Product Title  \n  - Price  \n  - Rating  \n  - Number of Reviews  \n  - Availability  \n- Saves the collected data to a CSV file.  \n- Includes **error handling** and polite delays to avoid blocking by Amazon.  \n\n---\n\n## Technologies Used\n- Python 3.x  \n- Libraries:\n  - `requests` – for making HTTP requests  \n  - `BeautifulSoup` – for parsing HTML  \n  - `pandas` – for data storage and manipulation  \n  - `numpy` – for handling missing values  \n  - `time` and `random` – for delays between requests  \n\n---\n\n## Project Structure\namazon_scraper/\n│\n├── amazon_scraper.ipynb # Jupyter notebook with the full scraping workflow\n├── amazon_data.csv # CSV output file with scraped data\n├── README.md # Project documentation\n└── requirements.txt # Required Python libraries\n\n\n---\n\n## Usage\n1. Clone the repository or oprn the notebook in kaggle/local jupyter.\n2. Install the required libraries\n\n```bash\npip install -r requirements.txt\n\n3. Open the notebook and run the cells in order.\n4. Scraped product data will be saved as:\n\n/kaggle/working/amazon_data.csv  (Kaggle)\nor amazon_data.csv (Local)\n\n5. You can modify the search term and number of pages to scrape:\nBASE_URL = \"https://www.amazon.com/s?k=playstation+5\u0026crid=3G12O79UMR7B1\u0026sprefix=playstation+5%2Caps%2C414\u0026ref=nb_sb_noss_1\"\nTOTAL_PAGES = 5\n\n6. Output Example\n\u003cimg width=\"989\" height=\"371\" alt=\"image\" src=\"https://github.com/user-attachments/assets/3dd602af-f9e0-4717-985a-286c24aba31e\" /\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikhleshshukla123%2Fweb-scraping-using-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikhleshshukla123%2Fweb-scraping-using-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikhleshshukla123%2Fweb-scraping-using-python/lists"}