Copy a link to your clipboard, run “dv”, and you’re done.
It’ll show you a notification when it starts downloading, and another one when it’s finished.
If you have WatchList, it’ll show you an extra option, to automatically add the downloaded video to your watchlist (in which case the video will be saved to your Downloads directory).
Run any of those with the ⌘ modifier, and it’ll download the full playlist the video is part of.
To see the download progress, run “dvp”. Actioning this option will refresh its state. Actioning it with the ⌘ modifier will restart the current download (adding it to the back of the queue), while actioning with ⌃ will abort the current download.
You can also add DownVid actions as OS X Services, by running “installdownvidservices” (if you ever want to remove them, simply delete them from the ~/Library/Services directory).
What this means is wherever you find a URL, you’ll be able to right click it and start the download right from the context menu.
But how are you checking if another workflow is installed?
Well, I’m not, here’s how it works. WatchList keeps an ordered text file, in order to be able to work. What DownVid does is simply check if this file exists; if it does, it’ll show you that extra option, and if you pick it it’ll prepend that file’s name to the list, that’s it. This information is neither sent to or saved anywhere, it just checks when you run it. If you don’t have WatchList, this won’t impact your experience in any way.
Why don’t you get the URL from my browser’s open tab, instead of having me copy it?
Well, that is actually how this worked, and that version was scrapped soon after being done. What happened is that while using it naturally, I’ve realised that it’s counter‐intuitive, at least to the way I need it to work. With PinAdd (that served as the base for the previous version), I usually run the script after I’ve seen the page, but with videos I’ll run it before, and I’ve realised most of the time I won’t even open the page, I just right‐click and copy a link, so this actually works better with that method.
Download | Source
All the code in the workflow’s root directory is licensed under The Unlicense (Public Domain, essentially). Applications and libraries inside the “_licensed” directory are not public domain, and are accompanied by their respective licenses.
Works well with
Edited by Vítor, 27 December 2015 - 02:50 AM.