8 ms·
Youtube-dl
- escherize 12y agoI use this all the time and It's really great. I have messed around with one sketchy youtube downloader or another for years until I found this. Oh, and it's on brew!
- ketralnis 12y agoThere are lots of projects to do this, and this one has been around for quite some time. Is there any context as to why to post this now?
- ekianjo 12y agoSomeone is looking for easy karma points probably :)
- chm 12y agoIf it's on the front page, some people have upvoted it. Take a look at the "new" section!
- vermontdevil 12y agoI didn't know about this so I'm glad it popped up on the front page.
- anonova 12y agoDespite its name, youtube-dl doesn't just download from YouTube but from a ton a different sites as well [1]. The rate in which this project keeps up with changes is incredible. [1]: https://github.com/rg3/youtube-dl/tree/master/youtube_dl/extractor https://github.com/rg3/youtube-dl/tree/master/youtube_dl/ext...
- schoen 12y agoIt seems like quite a modern success story for the classic "Cathedral and the Bazaar" model of open source development structure and motivations. As I recall, it was originally written by one person (Ricardo Garcia) in 2008 and worked only on YouTube using (by later standards) relatively simple heuristics to find the URL to extract the video. But it's catalyzed an explosion of interest in every aspect of the problem: tracking changes to the HTML of the video sites, adding support for more video sites, figuring out indirection and parsing through multiple pages and HTML objects, making the tool much more multiplatform and easier to install and update... It's attracted hundreds of contributors (many of them motivated by a personal desire to be able to use the tool on a different site, or to fix a bug that was preventing them from downloading video in a particular rare case) and maintained an incredibly rapid pace of development.
- pavlov 12y agoI'm not sure if "leeching copyrighted content" was the kind of motivation that Eric Raymond had in mind for future open source projects when he wrote Cathedral and the Bazaar.
- chris_wot 12y agoI call it "ability to watch Youtube content offline".
- rg3 12y agoThat was indeed the original purpose.
- lozf 12y agoWhen I was in the Himalayas earlier this year, between poor WiFi and sketchy 3G, it was the only practical way to watch at all. Having the file offline was an added bonus that meant others could benefit too, so big thanks to rg3 & current devs on behalf of a lot of folk who've never been near HN themselves.
- coldtea 12y agoYeah, because at the core of human civilization lies a respect for copyright, a BS notion that was developed for exploiting the restrictions of (analog) physical formats for profit...
- pavlov 12y agoAn anti-copyright freedom fighter downloading stuff from YouTube is not unlike an anti-capitalist punk rocker buying her clothes at H&M...
- coldtea 12y agoAt least put some effort to make the analogy more accurate: "it's not unlike an anti-capitalist punk rocker STEALING her clothes at H&M". That said: First, I fail to see the contradiction from being an "anti-copyright freedom fighter" and "downloading stuff from YouTube". Someone somehow convinced you than anti-copyright people only like copyleft works? The very idea of being anti-copyright is wanting to abolish all copyright. Second, what's witht the "anti-copyright freedom fighter" strawman? As if someone needs to be that to want to download stuff off of YouTube?
- spindritf 12y agoIncluding non-video sites like Soundcloud and it supports playlists (downloads multiple files) on and off Youtube.
- ubercow 12y agoI love how many porn sites are supported by this
- albertoleal 12y agoIf there is a will, there is a way.
- saraid216 12y agoThere's not much motivation to create a non-porn site YouTube clone. You have to believe you can do it better or need to not host your content on YouTube, and you have to be able to do it. Porn has the need (the mainstream providers generally delete porn) and the sheer resources to do it.
- dredmorbius 12y agoThe playlist feature is actually one that typically annoys me. So I've just re-read the manpage and found the --no-playlist argument.
- phihag_ 12y agoSorry! The problem is that our userbase is split about wanting the playlist or the video. You can create a file ~/.config/youtube-dl.conf with the content --no-playlist so that you don't have to type it out every time.
- dredmorbius 12y agoRight. My point was that the mention prompted to me to read TFM and find the fix. I've just done the config file setting you mentioned.
- unicornporn 12y agoI've installed youtube-dl via homebrew. How do I install these external sources?
- sarreph 12y agoYou don't need to, as far as I'm aware. I think you can just request a supported URL, and it will download it automagically.
- pyre 12y agoCorrect. Each class that handles information extraction for a different side defines a regexp to match the url against. (Note: Some of the regexps aren't hardy to the http-vs-https distinction, so you might have to remove the 's')
- unicornporn 12y agoAwesome, thanks. Should have tried before asking. :) Searched my system drive for these .py files, but found nothing, so I figured something was missing.
- pyre 12y agoAll of the modules are compiled into a single file for the youtube-dl command. I've never looked into what they are using to do this, but you could poke your head into the repo to check it out.
- phihag_ 12y agoWe're simply making use of Python's ability to load a module from a zip file [0]. Therefore, the generation[1] is just zipping up all the files and prepending a shebang. [0] http://bugs.python.org/issue1739468 http://bugs.python.org/issue1739468 [1] https://github.com/rg3/youtube-dl/blob/640743233389714dda8a3ccb01cf7335e7b43c37/Makefile#L48 https://github.com/rg3/youtube-dl/blob/640743233389714dda8a3...
- nklas 12y agoA very nice utility to have installed. It can also convert a video to an mp3: youtube-dl --extract-audio --audio-format mp3 https://www.youtube.com/watch?v=OKbtC223e30 https://www.youtube.com/watch?v=OKbtC223e30
- anw 12y agoOr even shorter: youtube-dl -x --audio-format mp3 OKbtC223e30
- Strom 12y agoIn general youtube-dl is great, but that short id input handling is broken, as evidenced by this: youtube-dl -x --audio-format mp3 -fCtvurGDD8
- rossy 12y agoBecause it interprets video IDs that start with a dash as short options? This should be better: youtube-dl -x --audio-format mp3 -- -fCtvurGDD8
- ekimekim 12y agoLike many tools, youtube-dl supports a -- flag to indicate "the remaining arguments are not flags". So your example would work as: youtube-dl -x --audio-format mp3 -- -fCtvurGDD8
- phihag_ 12y agoAs others have pointed out, you'll need -- in this case. However, there's really no reason why youtube-dl should not detect this common problem (we also try to detect when users forget to quote URLs with ampersands). Update to youtube-dl 2014.11.23.1 or newer and try this again ;) By the way, the GitHub issue tracker (https://yt-dl.org/bug https://yt-dl.org/bug ) is usually a better place to report issues. But just for youtube-dl reaching #1 on HN, I'll make an exception.
- shmerl 12y agoConverting it to MP3 is a bad idea. Youtube uses other lossy codecs inside, such as Vorbis and AAC. So reencoding it will degrade the quality. The best option is to keep the audio as is.
- saurabh 12y agoThis is the best video downloader. It has downloaded videos from every site I've thrown at it. It even downloaded videos from Comedy Central! Edit: https://rg3.github.io/youtube-dl/supportedsites.html https://rg3.github.io/youtube-dl/supportedsites.html
- JoshTriplett 12y agoI've used this quite extensively. It's less critical for YouTube now that almost all YouTube videos work with the HTML5 player, but it helped quite a bit when every other video required Flash. Still necessary for many third-party sites as well. It'll also download an entire playlist, and add sequential numbers at the beginning (with the -A option).
- ekimekim 12y agoI've also used it for downloading all possible formats for a video when debugging problems that only seem to be there in some resolutions.
- JoshTriplett 12y agoYeah, the format enumeration works quite well too. I've used it to download the "original" format for videos available in higher-than-1080p resolutions, as well as using the --extract-audio option.
- shmerl 12y agoI just use quvi for that. Example: quvi -vm --format $format "$url" --exec 'wget %u -O %t.%e' instead of $format put any format that the video supports. To query them, use: quvi --query-formats "$url" So it's going to be something like: quvi -vm --format fmt43_360p "$url" --exec 'wget %u -O %t.%e' And to extract audio from the result you can use: avconv -i something.webm -vn -acodec copy something.ogg Youtube however is switching away from fixed video files to separate streams to be used with MSE. You can note that higher resolution video is not available the old way. So downloading that won't be so straightforward.
- ivank 12y agoyoutube-dl supports muxing the separate video and audio streams from YouTube. You just need a recent ffmpeg/avconv and youtube-dl -f bestvideo+bestaudio.
- shmerl 12y agoThanks, good to know. I'll try it out.
- unicornporn 12y agoThis is way cool as YouTube separates video and audio streams for 1080p (and up) and then joins them with DASH.
- ux 12y agoWhat actually happened to quvi? Is it really still active? (https://github.com/legatvs?tab=repositories https://github.com/legatvs?tab=repositories). No more commit since last year. Same question for clive/cclive... By the way, FFmpeg has support for the 0.4 branch of libquvi, so if you built it with --enable-libquvi you can ffmpeg -i http://youtube.. http://youtube... (assuming libquvi and its scripts still work)
- shmerl 12y ago> What actually happened to quvi? Good question, I didn't keep track of its development. Your best option would be asking developers if they are planning to work on it further or not. > By the way, FFmpeg has support for the 0.4 branch of libquvi Same as mpv I think. You can play Youtube videos with it directly: mpv "$url" Which is kind of fun, since you can do tons of things that aren't available in the browser player - looping, playing only portions of the video and all other things which mpv can do.
- notastartup 12y agoI just use chrome extension
- deleted 12y ago[deleted]
- deleted 12y ago[deleted]
- RVuRnvbM2e 12y agoThis appears to be the only option for Free Software access to soundcloud.com.
- janerik 12y agoIt's easy to just throw the streams of Soundcloud songs against whatever music player you have at hand. MPD even has a playlist plugin, which correctly handles basic soundcloud.com urls and handles all the API stuff for you.
- pavs 12y agoyoutube-dl gets updated very frequently and the version that comes with your distribution (ie, ubuntu) usually is out of date and doesn't work often on most sites. So its better to download from the source and update it using "youtube-dl -U"
- JoshTriplett 12y agoThat's true for the version in Debian stable as well. The package in unstable tends to pick up upstream updates pretty quickly, though, especially when they're needed to fix site support.
- dirkk0 12y agoThis may sound surprising but via youtube-dl I bought more music than before. If I find a new band that I might like, I search for Youtube videos first. The non-official videos often show just the cover of the CD or some useless slide show, so I extract the audio to have it in my playlist. Once I am decided that I like the music I had over to Bandcamp or Amazon to buy the mp3s. As an example: I lately bought four digital cds from progmetal act Redemption because someone upped their cd 'This Mortal Coil' to Youtube.
- lelandbatey 12y agoYoutube-dl is the biggest pre-built thing I use in GifMachine[0] after ffmpeg, and I've used it in innumerable projects since then. I love youtube-dl, it's fantastic! [0] - http://gifmachine.xwl.me/ http://gifmachine.xwl.me/
- hugogee 12y agoNice gifmachine - Thank you!
- Nux 12y agoyoutube-dl rocks. One of my favourite features: youtube-dl -F
- deleted 12y ago[deleted]
- unicornporn 12y agoOK. I just realized this does something really cool. I've been troubled with 1080p videos as they no longer contain audio. They're separated and YT uses DASH to join the audio+video stream. youtube-dl seems to solve this: https://github.com/rg3/youtube-dl/issues/2165 https://github.com/rg3/youtube-dl/issues/2165
- HaseebR7 12y agoI've used this one for so many things and it's awesome. I've downloaded a whole youtube channel, downloaded videos as mp3's and what not. I have couple of aliases set in my .zshrc too :) mp3dl() { youtube-dl --extract-audio --audio-format mp3 $1 } root@haseebr7 ~ mp3dl <youtube_video_url> and bam i have the mp3 download. I no longer have to visit shitty ad infested websites to do these kind of things.
- samstave 12y agoI do the same, but have ethe -K option also whch keeps the original DLd video.
- zuck9 12y agoNo one pointed out that it has a do-whatever-you-want license. This is the thing which bothers me most. There are gazillions of shitty youtube downloaders (paid, free and adware supported) out there that people still use and the code is being powered by the work of open source developers.
- rg3 12y agoI think it's a legitimate choice. Personally I'm not worried my work is being used that way, as long as the original project is available and works.
- pizzeys 12y agoAs a stalwart defender of the WTFPL in my small circle of developer friends (who mostly think I'm crazy for it), you are now added to the list of people I can use to back up the fact that I'm not. ;) Seriously though, awesome project, used it for a while.
- cogburnd02 12y agoAnother example for you: libcaca. [1] However, the GNU people recommend the X11 license for small programs and Apache 2.0 if you've already decided to use a permissive license on a large program [2] [1] http://caca.zoy.org/wiki/libcaca http://caca.zoy.org/wiki/libcaca [2] https://www.gnu.org/licenses/license-list.html#WTFPL https://www.gnu.org/licenses/license-list.html#WTFPL
- icebraining 12y agoI don't think the license would change anything, even if they chose something like AGPL. The sites would either ignore it (hard to prove infringement) or put a small link with their source. They don't rely on being proprietary anyway.
- zuck9 12y agoWell it'll atleast do something to limit creations and who knows if the copyright attribution was placed on many projects, youtube-dl would have received more attention, I'm surprised it wasn't already posted to HN. It's very nice though for legitimate developers.
- renekooi 12y agoYT videos lag a lot when I stream them directly in VLC 2.2.0, (`vlc <youtube link>`) and some protected videos don't play at all, so I often use this: ytplay() { youtube-dl "$1" -o - | vlc - } As a side benefit it of course also allows you to instantly watch stuff from all the other sites YT-DL supports :)
- jboynyc 12y agoThat's a great idea. I use Livestreamer for that purpose. https://pypi.python.org/pypi/livestreamer/1.10.2 https://pypi.python.org/pypi/livestreamer/1.10.2
- girvo 12y agoHoly heck that's a great idea. Thanks!
- relate 12y agoHad to add a colon: ytplay() { youtube-dl "$1" -o - | vlc -; } but works great!
- wrboyce 12y agoThat is a semicolon, and it shouldn't be necessary (at least not in bash/zsh).
- heinrich5991 12y agoI believe it's necessary, otherwise the closing bracket counts as parameter to the last command.
- e12e 12y agoCorrect. On the command line: ytplay() { youtube-dl "$1" -o - | vlc - ; } or: ytplay() { youtube-dl "$1" -o - | vlc - #<enter here> > } #Where "> " is bash prompting for more/end of definitoin In a file (eg: .bashrc), I'd personally prefer: ytplay() { youtube-dl "${1}" -o - | vlc - } Note that there's very little difference between "$1" and "${1}" in practice, I tend to prefer it for consistency with recommended[1] practice of using ${NAME} rather than $NAME. (And to differentiate something like "${1}${2}" vs "${12}", as you might if $1 was a name, and $2 an extension, or $1 and url-scheme and $2 a host-name (http://hostname http://hostname -> "${1}${2}" 1="http://" http://" 2="hostname"). [1] http://stackoverflow.com/questions/8748831/bash-why-do-we-need-curly-braces-in-variables http://stackoverflow.com/questions/8748831/bash-why-do-we-ne...
- doh 12y agoIf you don't want to install anything, just use http://savedeo.com http://savedeo.com for almost any video or http://auderio.com http://auderio.com for Music from Youtube
- raminassemi 12y agoThanks, been using listentoyoutube.com but auderio.com is definitely better (less annoying popup stuff + required clicks)
- doh 12y agoAnd way faster :)
- MrBra 12y agoWhat's so special about this?
- polarix 12y agoProbably lots of hackers want to be freed from the bondage of youtube.com while still retaining access to the wealth of content available there.
- MrBra 12y ago? hence the "so special" in my question. There are plenty of these tools already and it's been so for long time. As a hacker you should know. So again, what's so special about this?
- rg3 12y agoIt's very nice to see a project I started reach the front page of HN. I remember starting the project around 2006. Back then, I had a dial-up connection and it wasn't easy for me to watch a video I liked a second time. It took ages. There were Greasemonkey scripts for Firefox that weren't working when I tried them, so I decided to start a new project in Python, using the standard urllib2. I made it command line because I thought it was a better approach for batch downloads and I had no experience writing GUI applications (and I still don't have much). The first version was a pretty simple script that read the webpages and extracted the video URL from them. No objects or functions, just the straight work. I adapted the code for a few other websites and started adding some more features, giving birth to metacafe-dl and other projects. The raise in popularity came in 2008, when Joe Barr (RIP) wrote an article about it for Linux.com.[1] It suddenly became much more popular and people started to request more features and support for many more sites. So in 2008 the program was rewritten from scratch with support multiple video sites in mind, using a simple design (with some defects that I regret, but hey it works anyway!) that more or less survives until now. Naturally, I didn't change the name of the program. It would lose the bit of popularity it had. I should have named it something else from the start, but I didn't expect it to be so popular. One of these days we're going to be sued for trademark infringement. In 2011 I stepped down as the maintainer due to lack of time, and the project is since then maintained by the amazing youtube-dl team which I always take an opportunity to thank for their great work.[2] The way I did this is simply by giving push access to my repository in Github. It's the best thing I did for the project bar none. Philipp Hagemeister[3] has been the head of the maintainers since then, but the second contributor, for example, was Filippo Valsorda[4], of Heartbleed tester[5] fame and now working for Cloudflare. [1] http://archive09.linux.com/articles/114161 http://archive09.linux.com/articles/114161 [2] http://rg3.name/201408141628.html http://rg3.name/201408141628.html [3] https://github.com/phihag https://github.com/phihag [4] https://github.com/filosottile https://github.com/filosottile [5] https://filippo.io/Heartbleed/ https://filippo.io/Heartbleed/
- spindritf 12y agoThe frequent (almost daily, sometimes more frequent than daily) updates are really impressive.
- soyuka 12y agoI'm just using https://github.com/np1/mps-youtube https://github.com/np1/mps-youtube
- gprasanth 12y agoOn OS X, you can use afplay(/usr/bin/afplay) to play those downloaded videos' music(in a headless player). This is pretty useful if you listen to youtube music at work.
- chris_wot 12y agoOh man, I had that ages ago and used it frequently! It stopped working, if this is working again that's awesome :-)
- coldtea 12y agoYou should update it often, as internal formats, urls, options etc of the sites change.
- chris_wot 12y agoIs there a way of bypassing geoblocking via youtube-dl directly?
- spindritf 12y agoWell, you can get a cheap VPS in the US, or UK, or wherever the content is available, and run youtube-dl there. You can also use a proxy[1]. Unfortunately, I think socks proxies are not supported yet[1]. [1] https://rg3.github.io/youtube-dl/documentation.html#d5 https://rg3.github.io/youtube-dl/documentation.html#d5 [2] https://github.com/rg3/youtube-dl/issues/402 https://github.com/rg3/youtube-dl/issues/402
- derekp7 12y agoIs there a plugin version of this program, which would dynamically change any (supported) flash video reference to an HTML5 video tag? That way I can get rid of flash completely.
- Udo_Schmitz 12y agoDon’t know about this program, but I use this on OS X Safari: http://www.verticalforest.com/youtube5-extension/ http://www.verticalforest.com/youtube5-extension/ Helped to get rid of Flash, although I have Chrome in my programs folder for sites that are still flash only.
- xuhu 12y agoI use this to replace noisy audio on a smartphone recording of dancing lessons with a high-quality version from a youtube video, automatically: http://youtu.be/AVIHpaNQLS0 http://youtu.be/AVIHpaNQLS0
- tripzilch 12y agoWow that's quite an impressive tool! I mean I understand that all the separate steps are stuff we've seen is easily possible nowadays, but putting it together in a single UI makes it (roughly) 3000x as useful! I want to try it, anyone had luck compiling it for Linux? EDIT/update: Well I gave it a try, grabbed QtCreator, loaded the project, not much luck. Some issues with the "phonon" library, it seems. I'm not very good with getting C++ stuff to work when it gives build errors. I did spend about half an hour fiddling and googling error messages, but now it's time to give up, sorry :) I'm writing this update to let you know that one of the errors I did manage to fix, is that Windows has case-insensitive paths/filenames, while Linux does not. Apparently the path for the phonon library is lowercase, so you should `#include <phonon>` lowercase. I'll try to leave a Github issue about this. That didn't help much (complaints about the State enum in soundfix.h) which I tried to fix by also putting `#include <phonon>` in the soundfix.h. I'm not sure if that was right at all, but it did seem to fix that particular problem. As a result I was greeted with a whole bunch of other (I think unrelated?) errors about some types not being strictly compatible or something. That is where I check out until I know more about C++, decided it had been long enough, and just writing you a little message to let you know how it went. However, it made me install and try QtCreator, something that I was meaning to do anyway. So that's a win :)
- xuhu 12y agoI'll try compiling it on qt5/linux as well, thanks for tracking down the phonon issues!
- clarry 12y agoYget is an alternative I've found to be more reliable. It's just for youtube though, and doesn't support all the things (such as bypassing age restrictions). http://repo.hu/projects/yget/ http://repo.hu/projects/yget/
- tripzilch 12y agoHow is it more reliable?
- clarry 12y agoBack when I used youtube-dl, it seemed like Google changed something about Youtube every couple months and youtube-dl would break. Yget survived many more of these changes. Getting youtube-dl to run has been a pain for some reason, for example I always seem not to have the right version of Python available. Yget doesn't depend on such volatile tools.
- rb2k_ 12y agoThe amount of time it takes to keep up with all of the changes big sites make is impressive. At some point I decided to write something similar in Ruby ( https://github.com/rb2k/viddl-rb https://github.com/rb2k/viddl-rb ) and I'm kind of ashamed of how broken things are from time to time. Video hosting sites don't have APIs and reverse engineering the sources for the videos is like shooting at a moving target. So kudos for leading that project :)
- d0ugie 12y agoQuick protip for those wondering, the simple command to download an entire youtube channel is like so: $ youtube-dl -citw ytuser:LastWeekTonight I downloaded a channel with 121 videos, 4.4 gigs, took 26 minutes, so 2.8MB/s average. Curious if the Youtube people will shrug it off and free the beer or rate limit or more aggressively combat this. Also, to get the total number of supported sites: $ youtube-dl --extractor-descriptions|wc -l 466 (wow) As this can run on anything with Python, I guess that includes Android[0], iOS[1], Windows Phone[2], heck even Blackberry[3]?? [0] https://python-for-android.readthedocs.org/en/latest/ https://python-for-android.readthedocs.org/en/latest/ [1] https://code.msdn.microsoft.com/windowsapps/using-python-on-windows-e914e5c5 https://code.msdn.microsoft.com/windowsapps/using-python-on-... [2] http://pythonforios.com/ http://pythonforios.com/ [3] http://forums.crackberry.com/blackberry-z10-f254/blackberry-10-os-has-built-python-intepreter-d-798856/ http://forums.crackberry.com/blackberry-z10-f254/blackberry-... Thanks pmoriarty for submitting this. Awesome and I'm just getting started poking around with it. Makes me really want to learn Python, seems that's what all the fun stuff[4] is coded in. [4] http://motoma.io/pyloris/ http://motoma.io/pyloris/ :)
- fredoliveira 12y agoDownloading an entire channel is exactly how I downloaded the How to Start a Startup class from youtube. For the interested: $ youtube-dl -citw ytuser:UCxIJaCMEptJjxmmQgGFsnCg
- d0ugie 12y agofredoliveira: Eyeballing those lectures, which are enormous, youtube-dl is helping you more easily teach people to make their lives and careers better, instead of just downloading Taylor Swift songs. So youtube-dl is indeed being used for Good.
- 0942v8653 12y agoInstead of Python For iOS, try Pythonista[0]. It's amazing. [0]: http://omz-software.com/pythonista/ http://omz-software.com/pythonista/
- phihag_ 12y ago
- ansgri 12y agoHow does it compare to get_flash_videos, which is available in Ubuntu repository? https://code.google.com/p/get-flash-videos/ https://code.google.com/p/get-flash-videos/
- cogburnd02 12y agoget-flash-videos supports Hulu; I've been meaning to try it out [1] because flash is Satan's anus. But I'd still keep youtube-dl for downloading & converting YouTube videos. [1] https://gitorious.org/get-flash-videos-plugins/pages/Hulu https://gitorious.org/get-flash-videos-plugins/pages/Hulu
- noisy_boy 12y agoI've setup this function in my bashrc to check for the latest build if the new one is more than 24 hours old and then run it with arguments supplied: function youtube-dl { exe=$HOME/bin/youtube-dl link=https://rg3.github.io/youtube-dl/download.html url=$(curl -s $link |grep ">sig<" |head -1|sed -e 's/href="/|/g' -e 's/">/|/g'|cut -d"|" -f2) fetch=N if [ -s "$exe" ] ; then ts=$(date "+%s") yts=$(stat -c "%Y" $exe) [ $(( ($ts-$yts)/(60*60) )) -gt 24 ] && fetch=Y else fetch=Y fi if [ "$fetch" = "Y" ] ; then url=$(curl -s $url |grep ">sig<" |head -1|sed -e 's/href="/|/g' -e 's/">/|/g'|cut -d"|" -f2) echo "Fetching [$url] and deploying to [$exe]" curl -s $url -o $exe chmod a+x $exe fi [ -z "$@" ] && $exe --help || $exe $@ }
- delinka 12y agosounds like a job for a package manager ;-)
- sage_joch 12y agoIt seems like this functionality should be part of YouTube itself, at least as an option settable by the uploader.
- of 12y agoIt would be nice if it supported Netflix. There's some difficulties with this, but a discussion about it here: https://github.com/rg3/youtube-dl/issues/1564 https://github.com/rg3/youtube-dl/issues/1564
- pimlottc 12y agoIf I can lazyweb on this for a moment, is there a good script out there that can use this to sync/download your entire watch later queue?
- phihag_ 12y agoyoutube-dl can do that out of the box, try youtube-dl --username pimlottc :ytwatchlater If you get a problem, please file a bug report at https://yt-dl.org/bug https://yt-dl.org/bug . Thanks!
- hit8run 12y agoTill now I didn't know that other Sites are supported :D wow really impressive site support! Thx for maintaining this nice tool :)
- wonjun 12y agoI really like this tool and it has been very reliable for me so far. Thanks for sharing the code.
- quoiquoi 12y agoThere's also a GUI wrapper for it: https://github.com/MrS0m30n3/youtube-dl-gui/ https://github.com/MrS0m30n3/youtube-dl-gui/ And a php web app that uses youtube-dl as a a backend: https://github.com/Rudloff/alltube/ https://github.com/Rudloff/alltube/