Jump to content

Recommended Posts

This is a workflow for easily downloading videos (and/or extracting audio) from various websites such as YouTube, Vimeo, DailyMotion and more... It uses youtube-dl as the core component. 
 

Main Features:

  • Download video from URL.  vd {video-url} 
  • Download and extract audio into an MP3 file.  vd-audio {video-url} 
  • Display and download video metadata (json).  vd-info {video-url} 
  • Update core component (youtube-dl).  vd-update 
  • Display quick help in Large Type. vd-help 

Note: vd-update command currently only updates youtube-dl, not the workflow itself.

 

Please see full details, updates (and source) of the project at GitHub.
Download Video Downloader workflow.

 
Here is a full visual list of what Video Downloader can do:

 

ss-1.jpg

 

 

And here is how the workflow nodes look like:
 

wf.jpg

  
Requirements:

 

For the audio extraction (vd-audio) feature to work, you should install FFmpeg yourself manually (because of licensing issues). 
If you don't have it already; you can find details on how to install FFmpeg at the GitHub page.

 

---
 
(While writing this, I found out about Vítor's workflow; which is also nice and uses youtube-dl. Well, I'm releasing this anyway for it's extra features like audio conversion, metadata info, etc..)

Pls. drop a note if you like it...

Thanks.

Edited by onury
Link to post
  • 2 weeks later...
  • 2 years later...

For giggles I changed line 29 in vd.sh from

ffmpeg_installed=$(program_exists "ffmpeg")

to

ffmpeg_installed=true

Now it gives me the warning at lines 64 and 65

    echo "Download failed! ($download_result)"
    echo "Make sure you've entered a valid video URL or parameter. Otherwise, try updating or re-installing Video Downloader."
Link to post
  • 6 months later...
  • 3 months later...
  • 2 years later...

I'd like to set this as the format parameters:

 

-f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4'

 

but no matter how I edit the vd.sh script, it's always failing. I'm not very familiar with the intricacies of bash scripting, can anyone help?

 

The pertinent lines are (probably) these:

 

output_format="$download_dir/%(title)s.%(ext)s"

options="-i -q -o "$output_format"" # --restrict-filenames

yt_output=$("$yt" $options "$video_url")

 

 

The goal is to set this, for example: 

 

youtube-dl -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4' https://www.youtube.com/watch?v=-me5AGrIvOo

 

Thanks for any help.

 

 

Edited by Stooovie
Link to post
  • 3 months later...
  • 4 months later...

I don’t mean to hijack the thread, but the author of this Workflow has been inactive from the forums for almost four years, and the Workflow hasn’t gotten an update in six.


All the recent issues I’m seeing mentioned are solved in DownVid (disclaimer: I’m the author), so I’m linking it in case you want to give it a try. You won’t need to futz around with ffmpeg, and it uses the “best format mp4” by default (@Stooovie).

Link to post
  • 1 year later...
On 4/3/2019 at 2:37 AM, Stooovie said:

I'd like to set this as the format parameters:

 

-f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4'

 

but no matter how I edit the vd.sh script, it's always failing. I'm not very familiar with the intricacies of bash scripting, can anyone help?

 

The pertinent lines are (probably) these:

 

output_format="$download_dir/%(title)s.%(ext)s"

options="-i -q -o "$output_format"" # --restrict-filenames

yt_output=$("$yt" $options "$video_url")

 

 

The goal is to set this, for example: 

 

youtube-dl -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4' https://www.youtubeconverterbySoftorino

 

Thanks for any help.

 

 

I didn't quite understand the problem

Edited by Mark N. Albano
Link to post

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...