Download videos from YouTube to mp3 or mp4 format
Download and install python version 3 for your OS python
Tip: Don't forget to Add Python to PATH (check box)
Download zip and extract files
Move Downloader.py inside the python folder, where the python exe is. Example 'C:UsersusernameAppDataLocalProgramsPythonPython38'
Create a folder wherever you want and move inside there the 'YouTube Downloader.bat'
In the same folder move the 'Downloader.exe' and 'Downloader.spec'
Download FFmpeg for your OS from ffmpeg
Extract the zip file (for Windows download ffmpeg-4.4-full_build.7z)
Move the 3 exe files (ffmpeg, ffplay, ffprobe) inside the folder you created before
Open cmd and move where you extracted the 'requirements.txt'
Type: pip install -r requirements.txt
This is the batch file template:
"Path where your Python exe is pathpython.exe" "Path where your Python script is pathscript name.py" pause
In our case both python.exe and Downloader.py are in the same folder. So, it should be something like this:
"C:UsersusernameAppDataLocalProgramsPythonPython38python.exe" "C:UsersusernameAppDataLocalProgramsPythonPython38Downloader.py" pause
Now you should be able to run the program from the 'Downloader.exe' or the 'YouTube Downloader.bat' without any problem!