Skip to content

Bhoomika-gp/Autoscraper-web_scrapping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Autoscraper-web_scrapping

Flipkart HP Laptop Autoscraper

This repository contains a Python script that leverages the autoscraper library to scrape HP laptop information from Flipkart's search results page.

Prerequisites

To run this script, ensure you have the following installed:

  • Python (version 3.9)
  • Autoscraper (version 1.2)

Installation

  1. Clone this repository:
git clone https://github.com/Bhoomika-gp/Autoscraper-web_scrapping.git
  1. Install the required dependencies:
pip install autoscraper

Usage

Modify the 'flipkart_hp_laptop_scraper.py' file to customize the scraping logic or target different data if needed.

Run the script:

python flipkart_hp_laptop_scraper.py

This will extract HP laptop information from Flipkart's search results page.

Script Explanation

The flipkart_hp_laptop_scraper.py script uses the autoscraper library to scrape HP laptop details, including titles and prices, from Flipkart's search results. It defines the URL and the elements to be scraped.