Salman11223 commited on
Commit
062054f
1 Parent(s): f5c2349

Update youtube_video.py

Browse files
Files changed (1) hide show
  1. youtube_video.py +2 -0
youtube_video.py CHANGED
@@ -1,5 +1,7 @@
1
  import pytube
2
  import os
 
 
3
 
4
  def download_youtube_video(youtube_url):
5
  """Downloads a YouTube video, renames it to the first three characters, and returns the downloaded file path."""
 
1
  import pytube
2
  import os
3
+ from pytube import YouTube
4
+
5
 
6
  def download_youtube_video(youtube_url):
7
  """Downloads a YouTube video, renames it to the first three characters, and returns the downloaded file path."""