GithubHelp home page GithubHelp logo

jpleorx / youtube-download-cli Goto Github PK

View Code? Open in Web Editor NEW
42.0 4.0 10.0 15 KB

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

Python 100.00%
python python3 pytube youtube youtube-dl youtube-downloader cli cli-app cli-tool youtube-audio-downloader

youtube-download-cli's People

Contributors

jpleorx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

youtube-download-cli's Issues

don't work

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

not work

return self.vid_info['streamingData']
KeyError: 'streamingData'
ERROR! Unexpected exception occurred

nice to have rename downloaded audio / video feature

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.