yWeb: fix TVinfo - use curl now

Origin commit data
------------------
Commit: a41e1b6525
Author: GetAway <get-away@t-online.de>
Date: 2019-03-16 (Sat, 16 Mar 2019)
This commit is contained in:
GetAway
2019-03-16 21:15:47 +01:00
committed by vanhofen
parent 264bf9569b
commit b311acdb0e
3 changed files with 19 additions and 9 deletions

View File

@@ -593,7 +593,7 @@ case "$1" in
timer_get_tvinfo)
shift 1
rm -r /tmp/tvinfo.xml
res=$(wget -O /tmp/tvinfo.xml "http://www.tvinfo.de/share/openepg/schedule.php?username=$1&password=$2" 2>&1)
res=$(curl -o /tmp/tvinfo.xml -vs "https://www.tvinfo.de/share/openepg/schedule.php?username=$1&password=$2" 2>&1)
if ! [ -s /tmp/tvinfo.xml ]
then
res="$res File empty!"