usage: pytube [-h] [--version] [--itag ITAG] [-r RESOLUTION] [-l] [-v] [--logfile LOGFILE] [--build-playback-report] [-c CAPTION_CODE] [-lc] [-t TARGET] [-a [AUDIO]] [-f [FFMPEG]] [url] Command line application to download youtube videos. positional arguments: url The YouTube /watch or /playlist url options: -h, --help show this help message and exit --version show program's version number and exit --itag ITAG The itag for the desired stream -r RESOLUTION, --resolution RESOLUTION The resolution for the desired stream -l, --list The list option causes pytube cli to return a list of streams available to download -v, --verbose Set logger output to verbose output. --logfile LOGFILE logging debug and error messages into a log file --build-playback-report Save the html and js to disk -c CAPTION_CODE, --caption-code CAPTION_CODE Download srt captions for given language code. Prints available language codes if no argument given -lc, --list-captions List available caption codes for a video -t TARGET, --target TARGET The output directory for the downloaded stream. Default is current working directory -a [AUDIO], --audio [AUDIO] Download the audio for a given URL at the highest bitrate available. Defaults to mp4 format if none is specified -f [FFMPEG], --ffmpeg [FFMPEG] Downloads the audio and video stream for resolution provided. If no resolution is provided, downloads the best resolution. Runs the command line program ffmpeg to combine the audio and video