while read $f do; curl -s $f >> video.ts done < playlist.m3u8