top of page

EVOASTRA VENTURES

Public·1276 members

Task 1 - Web Scraping

Target: Scraped car data from the official AckoDrive Maruti Suzuki collection page.

  • Tools Used:

    • requests to fetch HTML content

    • BeautifulSoup for parsing and data extraction

    • pandas for tabular data handling and CSV export

  • Data Extracted per Car:

    • Car Name (e.g., Maruti Suzuki Swift)

    • Model (variant name like VXi CNG (2 Airbags))

    • Type (e.g., SUV, Hatchback)

    • Transmission Type (e.g., Manual, Automatic)

    • Fuel Type (e.g., Petrol, CNG)

    • Price (e.g., ₹7.58 L)

    • Total Colors Available

    • Available Color Names (e.g., Splendid Silver, Nexa Blue)

  • How Color Names Were Extracted:

    • Navigated to the first available variant page for each model.

    • Located the color slider section and scraped color names from the title attribute.

  • Output:


60 Views
bottom of page