title: How do I add a progress bar to my pytube code
body: <p>I have a working pytube script but am struggling a little with where the extra pieces of code should go to create the progress bar.</p>
  
  <pre><code>#! usr/bin/python3
  
  import sys
  from pytube import YouTube
  
  if len(sys.argv) &lt; 2:
      print('Argument 1 must be the YouTube URL. Argument 2 must be a location to save it.')
  
  yt = YouTube(sys.argv[1])
  
  print()
  print("Knocking on YouTube's Door....")
  print(f'Downloading: {yt.title}')
  print()
  
  yt = YouTube(sys.argv[1]).streams.first().download(sys.argv[2])
  
  print('Download Complete!')
  </code></pre>