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:
All extracted data is structured into a DataFrame.
Saved to a clean, UTF-8 compatible CSV file (maruti_cars_data.csv).

