Inspiration
From the weather challenge on day 1
What it does
Gets the current weather for a city that the user specifies
How we built it
Using python, importing the requests and BeautifulSoup4 packages
Challenges we ran into
Lack of good websites to scrape from, web data requires javascript to run before displaying the html
Accomplishments that we're proud of
Found another way to write a function that checks the weather. Previously, I made a command to do the same but with the use of API's.
What we learned
That web scraping using bs4 directly is not very efficient to check for weather. Many sites will not display the code that displays the weather data immediately, as javascript needs to be run first. This can be fixed using selenium webdriver, which may be a solution to implement later on.
What's next for Weather.py
I will utilize different ways to check the weather rather than web scraping, namely using API's instead of scraping. This will allow me to gather more data, such as the weather for the next day.
Log in or sign up for Devpost to join the conversation.