![]() UUrJhliKNQ8g0qoE_zvL8eVg: Downloading page #1 Downloading playlist: Uploads from P圜on 2017 UUrJhliKNQ8g0qoE_zvL8eVg: Downloading webpage UCrJhliKNQ8g0qoE_zvL8eVg: Downloading channel page ![]() Getvideo and you should see something like: To download all videos from P圜on 2017 just do this: One thing I’d like to mention here is that youtube-dl works fine with playlists and even channels. (or getvideo - works the same with the video id or the complete url). (the %* will capture the remaining command line) so to get the previous video just run getvideo YgtL4S7Hrwo You from some keystrokes, you can create a batch file that will run and pass any more parameters to it, something like this: To your global python packages) or run youtube-dl if you’ve downloaded the pre-built exe or have installed it in a virtualenv. To add a directory to the PATH, just press Windows+Pause Break, Advanced System Settings, Advanced,Įnvironment Variables, edit the “Path” User variable (for your user) and append the directory there.Īs I’ve already explained before, to run youtube-dl you’ll either write something like py -3 -m youtube_dl (if you’ve installed it Also, later I will propose a bunch of DOS batch (.bat) files that can also be copied to that directory and help you even This is recommended and will save you from repeatedly typing the same things Notice I recommend copying things to a directory in your path. ffplay will play the file - not really recommended there are better tools but it is invaluableįor testing if it can be played be ffplay then ffmpeg will be able to properly read your file.ffprobe will print some information about a file (about its container and video/audio streams).ffmpeg is the passepartout video converting toot that we are going to use.This will get you a zip - we are mainly interested to the three files under theīin folder of that zip which should be copied to a directory under your path: To install ffmpeg, I recommend downloading the Windows build from here (select the correct Windows architecture of your system andĪlways static linking - the version doesn’t matter). Just put it in your path and you should be good to go. May go on and directly download a youtube-dl windows executable. ![]() That if you install youtube-dl in a virtualenv, after you activate that virtualenv you’ll be able to run it just by typing youtube-dl.įinally, If for some reason you don’t want want to mess with python and all this (or it just seems greek to you) then you However I prefer to install it on the global packages to be really easy for me to call it from a command prompt I open. If you wanted you could also create a virtual environment (see instructions on previously mentioned article) and install youtube-dl locally there using pip install youtube-dl You use youtube-dl always try updating first. So if for some reason something is not correct when Notice that you must frequently upgrade your youtube-dl installation because sometimes youtube changes the requirementsįor viewing / downloading videos and your old version will not work. To upgrade your youtube-dl installation you should do something like this: Some hints later about how to improve this. For example try something like this py -3 -m youtube_dl YgtL4S7Hrwo and you’llīe rewarded with the 2016 Pycon talk from Guido van Rossum! If you find this a little too much too type don’t be afraid, I will give ![]() To run youtube-dl you’ll write something like py -3 -m youtube_dl url_or_video_id (notice the underscore instead of dash sinceĭashes are not supported in module names in python). Following the instructions from there, you can do the following to install youtube-dl in your global To see how you should install and use Python 2 or 3 To install youtube-dl I recommend installing it in your global python (2 or 3) package list using pip. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |