jpleorx / youtube-download-cli Goto Github PK
View Code? Open in Web Editor NEWAn elegant CLI tool built in Python that allows you to download videos from YouTube both as MP4 video files and as MP3 audio files
License: Other
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
License: Other
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 "c:\users\amin_stors.pyenv\pyenv-win\versions\3.8.0\lib\site-packages\pytube_main_.py", line 176, in fmt_streams
stream_manifest = extract.apply_descrambler(self.streaming_data)
File "c:\users\amin_stors.pyenv\pyenv-win\versions\3.8.0\lib\site-packages\pytube_main_.py", line 160, in streaming_data
self.bypass_age_gate()
File "c:\users\amin_stors.pyenv\pyenv-win\versions\3.8.0\lib\site-packages\pytube_main_.py", line 264, in bypass_age_gate
raise exceptions.AgeRestrictedError(self.video_id)
pytube.exceptions.AgeRestrictedError: oKOtzIo-uYw is age restricted, and can't be accessed without logging in.
ERROR! Unexpected exception occurred
return self.vid_info['streamingData']
KeyError: 'streamingData'
ERROR! Unexpected exception occurred
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
It gives me a Nginx bad gateway error. I hope you fix it! :-)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.