curl be silent!
This commit is contained in:
parent
cf1f9997e5
commit
a034d3e2f8
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue