A simple python web crawler to fetch weather forecast
A simple python web crawler to fetch three days weather forecast
After downloading or cloning the repo, Navigate to the directory containing the files and double click on setup.py or run
python setup.py install
or if you have different versions of python then
python3 setup.py install
to install the dependencies.
It prompts to enter a city name to get the forecast for and requests the forecast for the city’s name that is taken as input and replaces ‘city’ in url with the one entered
http://www.weather-forecast.com/locations/
The source code of the requested webpage is decoded and <div>
containing the forecast string is searched, manipulated a little, fomatted and is displayed.
This project is licensed under the MIT License - see the LICENSE.md file for details