# Set the URL of the stream URL='https://rr12---sn-3c27sn7d.googlevideo.com/videoplayback?...' # Get the total size of the stream SIZE=$(curl -I $URL | grep -i Content-Length | awk '{print $2}') # Fetch the stream in 10 MB chunks and append the data to the output for ((i = 0; i < $SIZE; i += 10000000)); do curl -r $i-$((i + 9999999)) $URL >> 'output.mp4' done
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter