Jump to content
vitor

DownVid — Download media from popular sources

Recommended Posts

I was getting no notifications or anything, but then it shows a notification and % progress of the download.  Afterward,  I cannot find the file on my computer nor desktop  or anywhere.

 

 

Share this post


Link to post
2 minutes ago, kwehner57 said:

How do you set the audio quality using the audio_format variable?

 

You don’t. As the name says, it controls the format, not the quality.

Share this post


Link to post

I can't for the life of me figure out how to change the audio format from .opus to something like .mp3? Can anyone walk a newbie through it? Thank you!

Share this post


Link to post

Thanks Vitor!!   This is the very first Alfred Workflow I have downloaded and used, and it works great!! 
I am very, very, very new to Alfred and all things having to do with running commands in terminal and workflows using Alfred, etc...

I feel like I have opened up a whole new world of fun stuff to learn and use with my computer (Mac) and have you to thank.

I remember in 4th grade when I first was taught basic Algebra (2 - x = 5) and I was blown away at this new way to solve a problem, and felt so excited about Math and this fun new way to think.  Unfortunately I went a different way in my life then was good for me - and only now at 45 years old do I have the motivation to learn something new.  After using these workflows and learning about commands in terminal, etc.. I feel just like that kid in 4th grade, with my mind open and am looking forward to this new journey.

 

Thank you so much!

iMan

Share this post


Link to post
On 11/6/2019 at 7:52 PM, benboozle said:

I can't for the life of me figure out how to change the audio format from .opus to something like .mp3? Can anyone walk a newbie through it? Thank you!

 

  1. Open the Workflow in Preferences.
  2. Click the [𝓍] icon on the top right.
  3. Change the value in audio_format, on the right.

Share this post


Link to post
On 8/19/2019 at 2:22 PM, vitor said:

That’s a good point. For everyone with an issue, do you have custom download_dir or watchlist_download_dir values (Workfow Environment Variables)? What are they? If you delete them, does the issue go away? Paths should be absolute or use ~ to represent the home directory (e.g. ~/Downloads). It may be worth to delete and redownload the Workflow but tell Alfred to not import the previous settings.

After this post, who still has an issue?

 

I think my problem is the same.

 

I have deleted and imported the workflow several times already choosing not to import previous settings. I have also checked that the paths are ~/Downloads. But I still cannot manage to get it to work.

 

I think I follow the instructions correctly. 

 

1. I open a youtube video. 

2. Copy the URL to my clipboard. (for example: https://youtu.be/tRcPA7Fzebw but I've tried many other links from YouTube and other websites supported by youtube-dl)

3. Type “dv” into Alfred.

4. Press enter / or click on the suggested search result (which is Downvid's “Download video / Downloads the video to ~/Downloads)

 

But I don't get a notification. I have also tried “dvp”  but it says that there are no downloads in process.

 

I haven't tried to install youtube-dl or anything else as it is my understanding the workflow takes care of everything it needs itself. 

 

 

The debug log:


 

[03:45:46.503] DownVid[Script Filter] Queuing argument ''

[03:45:46.877] DownVid[Script Filter] Script with argument '' finished

[03:45:46.881] DownVid[Script Filter] {"items":[{"uid":"dv","title":"Download Video","subtitle":"Downloads the video to ~/Downloads","arg":"/Users/elv/Downloads video watchlist_false playlist_false","mods":{"cmd":{"subtitle":"Download full playlist","arg":"/Users/elv/Downloads video watchlist_false playlist_true"}}},{"uid":"da","title":"Download Audio","subtitle":"Downloads the audio to ~/Downloads","arg":"/Users/elv/Downloads audio watchlist_false playlist_false","mods":{"cmd":{"subtitle":"Download full playlist","arg":"/Users/elv/Downloads audio watchlist_false playlist_true"}}}]}

[03:45:48.143] DownVid[Script Filter] Processing complete

[03:45:48.146] DownVid[Script Filter] Passing output '/Users/elv/Downloads video watchlist_false playlist_false' to Run Script

[03:45:48.453] ERROR: DownVid[Run Script] Could not download resource.

./downvid: line 8: sed: No such file or directory

./downvid: line 9: sed: No such file or directory

./downvid: line 13: awk: No such file or directory

./downvid: line 14: awk: No such file or directory

./downvid: line 15: awk: No such file or directory

./downvid: line 16: awk: No such file or directory

./downvid: line 46: youtube-dl: No such file or directory

./downvid: line 50: basename: No such file or directory

./Notificator.app/Contents/Resources/Scripts/notificator: line 8: basename: No such file or directory

./Notificator.app/Contents/Resources/Scripts/notificator: line 9: dirname: No such file or directory

./Notificator.app/Contents/Resources/Scripts/notificator: line 9: dirname: No such file or directory

./Notificator.app/Contents/Resources/Scripts/notificator: line 9: dirname: No such file or directory

./Notificator.app/Contents/Resources/Scripts/notificator: line 10: dirname: No such file or directory

./Notificator.app/Contents/Resources/Scripts/notificator: line 10: dirname: No such file or directory

./Notificator.app/Contents/Resources/Scripts/notificator: line 10: dirname: No such file or directory

./Notificator.app/Contents/Resources/Scripts/notificator: line 66: touch: No such file or directory

./Notificator.app/Contents/Resources/Scripts/notificator: line 67: osascript: No such file or directory

./Notificator.app/Contents/Resources/Scripts/notificator: line 68: /MacOS/applet: No such file or directory

[03:45:48.465] DownVid[Run Script] Processing complete

[03:45:48.467] DownVid[Run Script] Passing output '' to Run Script

 

I also ran the commands you suggested on Terminal:

 

ELV:~ elv$ which sed
/usr/bin/sed
ELV:~ elv$ which awk
/usr/bin/awk
ELV:~ elv$ which youtube-dl
ELV:~ elv$ 

 

 

I am running on a fresh install of Mojave (10.14.6). I don't think I've done anything to alter the system significantly

Alfred version is 4.0.1


Any idea what's wrong?

 

Nevermind.

 

My firewall was blocking internet access to cURL.

 

The workflow is working now.

Edited by Thomas Dunne

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