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
1 changed files with 3 additions and 3 deletions

View File

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