How to Extract Weather Data from Google using Python | Web Scraping with Python | 2021

preview_player
Показать описание
Hey guys, this is Sarthak here back again with another cool video in which I've shown you guys how you could simply create a python script which extracts weather data from Google.

Requirements:-

pip install requests

pip install beautifulsoup4

Thank you for watching this video!
Drop a like if you found it useful.
Comment down below if you have any queries and I’ll definitely reach out to you!
Рекомендации по теме
Комментарии
Автор

hey there thanks for the content but can you tell me what these lines:
time=data[0]
sky=data[0]

actually does, i am unable to figuring it out.thanks

LostManBagpipe
Автор

instead of running it on cmd open it on vscode and add while True: below the import lines if you want to delay the code running and scrapping just add time.sleep so it will print
continuously

nrg-
Автор

look instead of typing particular city name just put city=("current location") so it will search automatically instead of editing or input the city=" " value

nrg-
Автор

that's very helpful, thanks! Just a quick thing if you can: I'm getting temperature in Fahrenheit, how can I turn it to Celsius?

andreabellucci
Автор

indexerror: list index out of range why this error occured

chaitanyakelaskar
join shbcf.ru