Downloads high quality YouTube videos in WebM format
Demonstration (Windows)
"""
---
Requests user for YouTube URL
---
Tries to find high quality video WebM streams
Tries to find high quality audio WebM streams
---
Downloads WebM video file in the format C:Users\Alex\Downloads\Video - {YouTube Title}
Downloads WebM audio file in the format C:Users\Alex\Downloads\Audio - {YouTube Title}
---
Uses FFmpeg (https://ffmpeg.org) to combine the video and audio into one file
---
User needs to have FFmpeg installed along with all other dependencies for the script to work
---
"""
ffmpeg -version | Select-Object -First 1
pytube --version || pip show pytube | grep "Version"
ffmpeg -version | head -n 1