Weather-Forecaster1.2
- A simple python web crawler to fetch Weather report of any state in India.
# Getting Started
### Installation
After downloading or cloning the repo, Navigate to the directory containing the files and double click on setup.py or run
sudo python setup.py installor if you have different versions of python then
sudo python3 setup.py install###### If the above Commands produces error Try installing the dependnecies # To install the dependencies >Pip3 install requirements.txtor
>pip3 install bs4
>pip3 install requests# How to run From the project directory runpython3 forecastmain.py
### HOW IT WORKS - It prompts to select a state from the dropdown and then select a city from that state to get the forecast and Voila You get the required Weather Report of that particualr city.
- An algorithm is being designed for scraping the data and laying out in the desired format
- The source code of the requested webpage is decoded and
<div>containing the forecast string is searched, manipulated a little, fomatted to display
Built With
- Python 3.6
- Linux
Dependencies & packages
- BeautifulSoup
- Requests
- Os
- Sys
- re
- citiesurl(Self Built)
Contributing
1.Feel free to FORK
2.Create your feature branch:git checkout -b my-new-feature
3.Beautify/Format your code before making a PR. Poorly stuctured code with inconsistent spacing and bad variable name will not be merged.
4.Use this tool to beautify your code :Click
5.Make sure your program works after beautifying it.
6.Please check your spellings before making a PR
7.Comment code properly.
8.Commit your changes:git commit -m 'Add some feature'
9.Push to the branch:git push origin my-new-feature
10.Submit apullrequest.
Authors
License 
Project Status
Till now this project has been 95% completed. Everyone is Welcomed to fork this repo and work on it and submit a pull request.


Log in or sign up for Devpost to join the conversation.