weatherData icon indicating copy to clipboard operation
weatherData copied to clipboard

Replaces base url with curl

Open cauldnz opened this issue 8 years ago • 2 comments

Appears that Weather Underground may have their knickers in a knot over page scraping?

Replaced the base url function with curl. I think that curl probably does a better job of spoofing the request headers. Thus, knickers un-knotted and weather data flowing again.

Have tested and "works on my machine"... but I will admit this is my first pull-request :-)

cauldnz avatar Mar 24 '16 04:03 cauldnz

Chris, CI checks are failing. I don't know if it doesn't like rCurl, or if something else is going on. Can someone paste the error they are receiving? That would help us debug the issue.

Ram-N avatar Mar 31 '16 04:03 Ram-N

What about adding curl into requirements listed in DESCRIPTION?

ozagordi avatar Mar 31 '16 09:03 ozagordi