From 2d4d0b8d168ad5534514ecf8ca51964efdefb2fb Mon Sep 17 00:00:00 2001 From: ha7ilm Date: Sun, 6 May 2018 18:04:35 +0200 Subject: [PATCH] sdr.hu is now HTTPS --- sdrhu.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdrhu.py b/sdrhu.py index dfca1b7..d06ae05 100755 --- a/sdrhu.py +++ b/sdrhu.py @@ -26,8 +26,8 @@ def run(continuously=True): if not cfg.sdrhu_key: return firsttime="(Your receiver is soon getting listed on sdr.hu!)" while True: - cmd = "wget --timeout=15 -4qO- http://sdr.hu/update --post-data \"url=http://"+cfg.server_hostname+":"+str(cfg.web_port)+"&apikey="+cfg.sdrhu_key+"\" 2>&1" - #print "[openwebrx-sdrhu]", cmd + cmd = "wget --timeout=15 -4qO- https://sdr.hu/update --post-data \"url=http://"+cfg.server_hostname+":"+str(cfg.web_port)+"&apikey="+cfg.sdrhu_key+"\" 2>&1" + print "[openwebrx-sdrhu]", cmd returned=subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE).communicate() returned=returned[0] #print returned