youtube-download-cli
youtube-download-cli copied to clipboard
An elegant CLI tool built in Python that allows you to download videos from YouTube both as MP4 video files and as MP3 audio files
youtube-download-cli "https://www.youtube.com/watch?v=oKOtzIo-uYw" INFO! Started downloading from "https://www.youtube.com/watch?v=oKOtzIo-uYw" Traceback (most recent call last): File "c:\users\amin_stors\desktop\ulutsoft\youtube-download-cli\youtube_download_cli\command_line.py", line 89, in main video = youtube.streams.get_highest_resolution() File "c:\users\amin_stors\.pyenv\pyenv-win\versions\3.8.0\lib\site-packages\pytube\__main__.py", line 296, in streams return StreamQuery(self.fmt_streams) File...
nice to have rename downloaded audio / video feature : **e.g.** ``` yt-dlp -o "%(uploader)s - %(title)s.%(ext)s" https://www.youtube.com/watch?v=fMi6Xi6Li2Q yt-dlp -o "01.%(ext)s" https://www.youtube.com/watch?v=fMi6Xi6Li2Q ``` best regards
return self.vid_info['streamingData'] KeyError: 'streamingData' ERROR! Unexpected exception occurred
It is instead saving the URL video with the filename which was used by content uploader on YouTube.