Python Selenium Weather Data Scraper

Заказчик: AI | Опубликовано: 30.11.2025
Бюджет: 250 $

I need a short, clean Python script that relies on Selenium with the Chrome driver and uses pandas for data handling. The workflow is simple: • Launch https://www.wunderground.com/history/daily/gb/london/EGLC • Click “Accept All” on the cookie banner. • Switch to the “Monthly” view. • For each month from January through April 2024, choose the month, hit “View,” and pull the entire Daily Observations table—but I only care about the Temperature, Precipitation, and Wind Speed columns. After each month you should append the fresh rows to the same pandas DataFrame so that, when the loop ends, it already contains the four-month block of data. • Before closing the session, capture the single current London temperature value shown in the page’s upper-left corner and store it in a Python variable named current_temp. I’m okay if the run stops on unexpected page issues; no additional error-handling wrappers are needed, and I don’t need the finished DataFrame or current_temp written to disk. A concise, well-commented .py file is all that’s required.