yWeb: fix TVinfo - use curl now

This commit is contained in:
GetAway
2019-03-16 12:39:06 +01:00
parent 7dc03ef026
commit 214d3f641c
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!"