1
0
Fork 0

curl be silent!

This commit is contained in:
smpl 2021-06-08 03:00:29 +02:00
parent cf1f9997e5
commit a034d3e2f8

View file

@ -14,7 +14,7 @@ while read -r line; do
done
break;
fi
done < <(curl -A "$USER_AGENT" "$URL")
done < <(curl -s -A "$USER_AGENT" "$URL")
echo "Playlist: $PLAYLIST"
@ -27,11 +27,11 @@ while read -r line; do
elif [[ $line != "#"* ]]; then
URL=$line;
fi
if [[ -n $RESOLUTION && -n $URL ]]; then
echo "$RESOLUTION:"
echo " $URL"
RESOLUTION=""
URL=""
fi
done < <(curl -A "$USER_AGENT" "$PLAYLIST")
done < <(curl -s -A "$USER_AGENT" "$PLAYLIST")