SEGMENTS=$(cat stream.txt)
#echo $SEGMENTS

for SEGMENT in $SEGMENTS; do

echo "now downloading >>> $SEGMENT"

mkdir stream
# this makes a new folder
# here we can download all the segments to

curl $SEGMENT --output-dir stream -O
# this downloads all the segment files to a folder called latino

done
