diff --git a/Download Audio/Download Audio.py b/Download Audio/Download Audio.py index 16826717..3d00876b 100644 --- a/Download Audio/Download Audio.py +++ b/Download Audio/Download Audio.py @@ -1,6 +1,6 @@ import os -import pytube -from moviepy.editor import * +import pytubefix as pytube +from moviepy import * # Define the YouTube video URL youtube_url = "https://www.youtube.com/watch?v=E6eKvji_BoE" @@ -20,4 +20,4 @@ # Clean up the temporary file os.remove(temp_file) -print("Audio extracted and saved as MP3 file to", mp3_file) \ No newline at end of file +print("Audio extracted and saved as MP3 file to", mp3_file) diff --git a/Download Audio/README.md b/Download Audio/README.md index 7f4a56b8..b38d10e7 100644 --- a/Download Audio/README.md +++ b/Download Audio/README.md @@ -21,7 +21,7 @@ This is a python script that downloads audio files directly from youtube videos. This script is written in Python language. So make sure you have python installed in your computer. Two modules of python are used in this script to install those follow below steps 1. Open cmd prompt 2. write "pip install moviepy" -3. write "pip install pytube" +3. write "pip install pytubefix ## 🌟 How to run - Open the Download Audio.py script