vitor Posted June 6, 2017 Author Share Posted June 6, 2017 (edited) On 2017-5-30 at 3:24 PM, deanishe said: The lack of audio support is actually the main reason I don't use DownVid and/or WatchList. Why does WatchList factor in? It can be used completely independently and can handle any file type you throw at it (and even URLs). 2 hours ago, dwrh said: I am getting the following notification What notification? 2 hours ago, dwrh said: Please advise. You gave no information I can work with. Please read and follow the following post to make a good bug report: Edited June 6, 2017 by vitor Link to comment
deanishe Posted June 7, 2017 Share Posted June 7, 2017 On 06/06/2017 at 2:53 AM, vitor said: Why does WatchList factor in? It can be used completely independently and can handle any file type you throw at it (and even URLs). Because the downloader it integrates with doesn't support fetching audio instead of video. I already have browser bookmarks and Pinboard for saving URLs for later (both of which sync to my other devices), and an unwatched tag for files. Instead, I save the URLs to Pinboard with a download-audio tag, and pipe my bookmarks through jq to youtube-dl. Link to comment
Karl Klammer Posted June 19, 2017 Share Posted June 19, 2017 Using Alfred for years I only just found this workflow and I'm impressed how easy and great it works. But - and read the whole thread - all my youtube test downloads were downloaded in 720p and I have no idea why. Example: Big Buck Bunny in 4k I found this comment but have no idea where I how I might need to modify something. Thanks in advance and best regards! Link to comment
vitor Posted June 20, 2017 Author Share Posted June 20, 2017 @Karl Klammer I can’t reproduce. Works fine here. Are you using the Workflow for Alfred 2 or 3? As for the comment, to make the modification open the Workflow in the Finder and then open the downvid file in a text editor. Search for the file_format line, near the top, and change the text in the parenthesis. Link to comment
Karl Klammer Posted June 20, 2017 Share Posted June 20, 2017 @vitor Thanks for the quick response. I'm using Alfred 3.4 on macOS 10.12.5. But as far as I understand this workflow, the earlier discussed changes should not be necessary to download the "best" quality (which mostly is >720p)? Is it possible to provide a log or something that might help to understand why the download decides to choose the lower resolution version? Link to comment
vitor Posted June 20, 2017 Author Share Posted June 20, 2017 3 hours ago, Karl Klammer said: I'm using Alfred 3.4 on macOS 10.12.5. What I wanted was the Workflow version. 3 hours ago, Karl Klammer said: Is it possible to provide a log or something that might help to understand why the download decides to choose the lower resolution version? No. Bottom line, this Workflow calls youtube-dl and tells it to do download the best mp4 version it finds. What the comment states is that apparently Youtube (or youtube-dl) considers 720p the best version, no matter what. Make the change I told you and you’ll fix that. Karl Klammer 1 Link to comment
Anjadekar Posted August 2, 2017 Share Posted August 2, 2017 I am experiencing the same issue as @Karl Klammer, in that DownVid wants to download the 720p version even though a 1080p one is available. What is curious is that this only seems to be be happening on one of my Macs. Any idea why this is so? And now a really silly question. Does this Workflow require youtube-dl to be installed independently? One the first Mac I didn't need to install it but on the one which picks 720p versions nothing happened till I installed youtube-dl. Link to comment
vitor Posted August 2, 2017 Author Share Posted August 2, 2017 (edited) 23 minutes ago, Anjadekar said: I am experiencing the same issue as @Karl Klammer, in that DownVid wants to download the 720p version even though a 1080p one is available. Again, the issue lies with youtube-dl. It needs to be fixed on that end. They have at least one issue on their tracker, about this. 23 minutes ago, Anjadekar said: Does this Workflow require youtube-dl to be installed independently? No. If you have an independently-installed youtube-dl, it tries to detect it and use that. If you don’t, it installs it on the data directory of the Workflow, so as to not mess up anything on your system. Edited August 2, 2017 by vitor Link to comment
Anjadekar Posted August 3, 2017 Share Posted August 3, 2017 Thanks @vitor. I think I'm going to play around a bit with youtube-dl. Could you please tell me how to completely uninstall the version of youtube-dl that comes with DownVid? Link to comment
vitor Posted August 3, 2017 Author Share Posted August 3, 2017 5 minutes ago, Anjadekar said: Could you please tell me how to completely uninstall the version of youtube-dl that comes with DownVid? Delete ~/Library/Application Support/Alfred 3/Workflow Data/com.vitorgalvao.alfred._sharedresources, if it exists. But that’s the last location it looks for. I’ve designed it precisely so it does not affect your system. Link to comment
vitor Posted September 1, 2017 Author Share Posted September 1, 2017 Update. Only continue after xattr is set. This is a technical change that’ll make no difference to you, but will make a difference for the revamped version of WatchList (unreleased yet, but close to ready, currently in testing). To update, download the latest version (same URL) or wait a few days (15 or less) and it’ll prompt you to on next usage, since it uses OneUpdater. Link to comment
roccitman Posted September 21, 2017 Share Posted September 21, 2017 (edited) Hey Vitor Great Workflow, and it's working great upon first install. I must be missing something in the instructions for extracting the audio though. When I get to step 5 I see the following: https://d.pr/v/HJ0EZG. I guess I should be adding the ... export PATH="/usr/local/bin:$PATH" ...to that first file where the only other line is ./downvid "${1}" Let me know if that's right. And second, I don't see anything noting "...a few lines under getfile() {)" Please let me know what I'm missing, thanks! ETA: rMBP running GM of High Sierra (10.14) Workflow version 1.21.14 FFMPEG installed (which ffmpeg: /usr/local/bin/ffmpeg) Edited September 21, 2017 by roccitman Forgot to add environment info :) Link to comment
vitor Posted September 21, 2017 Author Share Posted September 21, 2017 @roccitman Those instructions are old. DownVid had a different icon and Alfred was still at version 2. DownVid has changed quite a bit since then. I may introduce audio downloading natively, but have no ETA. Link to comment
roccitman Posted September 21, 2017 Share Posted September 21, 2017 Ok, thanks! I can manage the FFMPEG stuff locally. Thanks! Link to comment
vitor Posted June 8, 2018 Author Share Posted June 8, 2018 Update. Added support to download audio. It also works with downloading a full playlist as audio, but it does not include and option to add to WatchList automatically due to a limitation in youtube-dl where getting the filename for audio is not accurate. Also changed the way downloading a playlist works. It now downloads everything into it’s own directory. It’s more organised and interfaces better with WatchList. To update, download the latest version (same URL) or wait a few days and it’ll prompt you to on next usage, since it uses OneUpdater. thanasut and roccitman 2 Link to comment
valentinjesse Posted June 16, 2018 Share Posted June 16, 2018 Awesome work! By the way, is it possible to make "DownVid" service appear anywhere on youtube and not only when right-clicking on the address bar while playing the video? For example, it would be great to be able to download the video by right-clicking the text/thumbnail (link) anywhere on youtube (home, user uploads, suggestions etc) Thanks! Link to comment
vitor Posted June 16, 2018 Author Share Posted June 16, 2018 2 hours ago, valentinjesse said: is it possible to make "DownVid" service appear anywhere on youtube and not only when right-clicking on the address bar while playing the video? It’s not only on the address bar. It’s on any text that is a raw URL. It’s not possible to do what you ask, no (I’d also like that). macOS Services understand the text itself that you have selected, but have no way (that I’m aware of) of understanding it’s a hyperlink in a browser and grab its HTML content for parsing. Link to comment
albertkinng Posted August 12, 2018 Share Posted August 12, 2018 for some reason it stop working after the workflow update... damn! Link to comment
vitor Posted August 12, 2018 Author Share Posted August 12, 2018 35 minutes ago, albertkinng said: for some reason it stop working after the workflow update... damn! You’ll need to be more specific. “It stopped working” doesn’t help to debug the issue. What command did you run? With which URL? What was the debugger output (set to “All Information”)? Which Workflow version? Which macOS version? Which Alfred version? Link to comment
TJung Posted November 9, 2018 Share Posted November 9, 2018 Recently, I’m getting "The url is invalid" messages on a lot of YouTube videos when I use the dv command – but not for all of them. For example, this one works fine: https://www.youtube.com/watch?v=B3KBuQHHKx0 … while here, it says that the url is invalid: https://www.youtube.com/watch?v=blkcXkNyDfE It’s reproducible, i.e. I’ve tried the videos that don’t work one or two days later, getting the same result again. In the web browser, all the videos work, and I’m not using any plugin to get rid of the "not available in your country" message. Any ideas? Downvid v1.22.1, Alfred v3.7 [938], OS X 10.11.6. Link to comment
vitor Posted November 9, 2018 Author Share Posted November 9, 2018 @TJung That second link has byte order marks all over. If I paste it in a Terminal, I get https://www.y<feff>outube.com/watch?v=blkcXkNyDfE<feff><feff><feff>. As soon as I remove the <feff>, it works flawlessly. Some software in your machine must be adding those. Link to comment
TJung Posted November 12, 2018 Share Posted November 12, 2018 Thanks for the hint! I’m going to investigate… Link to comment
s95hc8 Posted November 15, 2018 Share Posted November 15, 2018 I have the same problem since recently 😞 Some youtube links do not work any longer with DownVid. I have no idea of the cause. Link to comment
vitor Posted November 15, 2018 Author Share Posted November 15, 2018 (edited) 1 hour ago, s95hc8 said: I have the same problem since recently 😞 Some youtube links do not work any longer with DownVid. I have no idea of the cause. Unless you give me the links, like @TJung did, I can’t debug your problem. Edited November 15, 2018 by vitor Link to comment
bgsufn Posted December 21, 2018 Share Posted December 21, 2018 I am having an issue where I get two separate files – a video file in .mp4 and an audio file in .m4a. This happens every time. Am I doing something wrong? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now