Package: downtube
DownTubeDowntube: A simple CLI for downloading youtube videos in video/audio formatNOTE: I dont support downloading stuff illegally, be sure to use it for legal purposes and creative commons licensed videos onlyInstallpip3 install downtubeDependenciesclickclick_help_colorspytubetqdmyoutube_searchBuilt withPython 3.9.6Supported Platforms:Operating System = Cross-PlatformHow to useOpen powershell for Windows or Terminal for Linux/Mac and  and typedtubeIf the following result comes, then you have successfully installed downtube on your systemDownloadYoutubeVideosfastandeasilywithDownTube

Options:--versionShowtheversionandexit.--helpShowthismessageandexit.

Commands:configSetupyourdefaultvideoresolutiondaytDownloadAudiobySearchdlalDownloadAudiobyURLdlvlDownloadVideobyURLdlytDownloadVideobySearchinitInitializedowntubetogetstartedelse, try the above steps again!SetupFirst you need to setup downtube for yourselfProcedure:Rundtube config -dr <resolution>to set your preferred default video resolution for download. You can check options for resolutions by executingdtube configNow you are set up to use downtubeMost of the time only 360p and 720p videos support audio, so they are recommended over any other resolutionDownload video from search terms :dtube dlyt {Search Terms} -r {resolution(optional)}For example:dtube dlyt Despacito_Song -r 360pThe first result from your search terms will be downloaded to your current folderGiving a resolution is completely optional. If you dont provide it, the video will be downloaded in your default resolution.Most of the time only 360p and 720p videos support audio, so they are recommended over any other resolutionDownload video from URLdtube dlvl {Video URL} -r {resolution(optional)}For example:dtube dlvl 'https://www.youtube.com/watch?v=kJQP7kiw5Fk' -r 360pThe video redirected by your url will be downloaded to your current folderGiving a resolution is completely optional. If you dont provide it, the video will be downloaded in your default resolution.Most of the time only 360p and 720p videos support audio, so they are recommended over any other resolutionDownload audio from Search Termsdtube dayt {Search Terms}For example:dtube dayt Despacito_SongThe first result from your search terms will be downloaded to your current folder in AUDIO formatDownload audio from URLdtube dlat {Video URL}For example:dtube dlal 'https://www.youtube.com/watch?v=kJQP7kiw5FkThe video redirected by your url will be downloaded to your current folder in AUDIO format--dir flagThe dir flag ensures that your file is downloaded in the Downloads directory of your computerFor e.g.dtubedlvlhttps://youtu.be/kJQP7kiw5Fk-dThe above command sets your download location as C://Downloads for windows and /home/user/Downloads for Linux/Mac. The same flag applies fordlyt,daytanddlal.DevelopersArghya SarkarCurrent Release- 0.1.6Whats new?Custom directory options and default directory awesomeBetter handling of errorsDeveloper ToolsVisual Studio CodePython 3.9.6GitPython PoetryLicenseLicense © 2021-Present Arghya SarkarThis repository is licensed under the MIT license. SeeLICENSEfor details.Special NotesContribution is appreciated!If you see anything uncomfortable or not working, file an issue inthe issue page. Issues aren't ignored by the developersThanks for seeing my project!