Jump to content
vitor

DownVid — Download media from popular sources

Recommended Posts

1 hour ago, deanishe said:

 

The lack of audio support is actually the main reason I don't use DownVid and/or WatchList. If I'm at the computer, I generally just stream the video in mpv, and most of the stuff I save, I actually want as audio, so I can listen while I'm out and about.

Listening to music out of Youtube is the main reason and not just the video ??????

Share this post


Link to post

Awesome download tool, but it has choked on me after six months.

Running Alfred 3 on Sierra, I am getting the following notification

for any streaming video across three browsers (Safari, Chrome, FireFox). 

Please advise.

Share this post


Link to post
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 by vitor

Share this post


Link to post
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.

Share this post


Link to post

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!

Share this post


Link to post

@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.

Share this post


Link to post

@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?

Share this post


Link to post
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.

Share this post


Link to post

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.

Share this post


Link to post
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 by vitor

Share this post


Link to post
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.

Share this post


Link to post

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.

Share this post


Link to post

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 by roccitman
Forgot to add environment info :)

Share this post


Link to post

@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.

Share this post


Link to post

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.
 

Share this post


Link to post

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!

 

 

YouTube ? 2018-06-16 22-42-06.jpg

Share this post


Link to post
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.

Share this post


Link to post
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?

Share this post


Link to post

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.

 

Share this post


Link to post

@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.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...