title: Download Youtube Video Chunks Using python
body: <p>im trying to read youtube videos before the downloading process finish.</p>
  <pre><code>from pytube import YouTube
  
  url=&quot;https://www.youtube.com/watch?v=izFplWRNlnw&quot;
  yt = YouTube(url)
  video = yt.streams.get_highest_resolution()
  video.download()
  </code></pre>
  <p>i want to access each chunk as .mp4 for example before the download completed.
  VLC Player can play the uncompleted file data.</p>
  <p>so how can i read each chunk of the progressive stream.</p>