EvilZone
Other => Found it on the Webs => : th3g00n October 31, 2015, 11:14:44 PM
-
https://rg3.github.io/youtube-dl/
-
there's also a GUI Version
https://github.com/MrS0m30n3/youtube-dl-gui
-
Great tool,
I have tested it and it can be very ghood used as a external program in scripts.
-
Oh, much longer than my youtube downloader, the whole thingy fits in about 70 lines :o
Looks great tho, a lot of options, might work with that to make mine better :3
-
I use to use this then switched to a firefox addon. It works well, but it is a memory hog. If you try to download a bunch of stuff your system will freeze. It has been a while though, something may have changed.
-
I use to use this then switched to a firefox addon. It works well, but it is a memory hog. If you try to download a bunch of stuff your system will freeze. It has been a while though, something may have changed.
What addon are you using now ?
-
https://addons.mozilla.org/en-us/firefox/addon/youtube-video-and-audio-dow/
-
I like the GUI YT Downloader for just downloading the Audio track, it also works with youtube playlists. Haven't had the problem with freezes... just works fine
-
That lib is really awesome! I used it a couple of times in my own Python scripts as well as a command line tool. What makes it great is that it's not just able to download any Youtube video, but also has the capability to almost leech videos from any other embedded player. Just give it the url of a webpage and it downloads the video!
-
Alternative:
https://github.com/nficano/pytube
pytube is a lightweight library written in Python. It has no third party dependencies and aims to be highly reliable.
pytube makes zero assumptions, meaning there is no built-in method to get say the "best" quality video, pytube simply exposes all the available formats and resolutions, giving you the developer the power to define what "best" is.
pytube also makes pipelining easy, allowing you to specify callback functions for different download events, such as on progress or on complete.
Install:
pip install pytube
Command-line usage
You can download a video by simply passing the -e (or --extension=) switch and setting it to the desired filetype:
pytube -e mp4 http://www.youtube.com/watch?v=Ik-RsDGPI5Y
Same thing for specifying a resolution:
pytube -r 720p http://www.youtube.com/watch?v=Ik-RsDGPI5Y
You can also specify a download file path (-p or --path=):
pytube -e mp4 -p ~/Downloads/ http://www.youtube.com/watch?v=Ik-RsDGPI5Y
and/or optionally choose the filename (-f or --filename=):
pytube -e mp4 -f Dancing Scene from Pulp Fiction http://www.youtube.com/watch?v=Ik-RsDGPI5Y
I mostly grab albums or discographies from torrents as I notice youtube songs are noticeably poorer quality. I cannot say whether this way of cli downloading youtube songs/videos is better than youtube-dl but its always good to have an alternative.