View Single Post
  #7   (View Single Post)  
Old 13th November 2018
fvgit's Avatar
fvgit fvgit is offline
Spikes in tights
 
Join Date: May 2016
Location: perl -MMIME::Base64 -le 'print decode_base64("U2hlcndvb2QgRm9yZXN0")'
Posts: 203
Default

Shep, using ftp works for me on all of the three scripts you posted, including https connections.

By the way, the curl user agent is only necessary for wttr.in. I think that site does a check for the user agent and delivers different output otherwise. At least that was the case when I played with it a couple of months ago. Oh, and thanks for the METAR one! I tested it with the three nearest airports in my area and it even receives data supplied by the big NATO airbase not too far from my town. Very cool.
Reply With Quote