Refactor to use requests

and a with statement :D
fixing error with undefined local variable
Merge branch 'refactor/use_with_for_weather_url' into develop