Downloading YouTube videos

For me, it only works with youtube.com links, not youtu.be. Maybe curl the youtu.be and use the redirect link.

2 Likes

It is web based. Their website does the download for you.
That means it should work on any system, even Android.
I will give it a test. For a job like that I will use anything that works.

1 Like

I am not using this because they have too many ads on the website, which is irritating for me as a user.

2 Likes

Is this what you are using?

Video Downloader (via Snapcraft):

A simple application for downloading videos from many sites that can be installed through the Snap store on various Linux distributions.

1 Like

Even when I convert that short URL to the full youtube.com URL - it still fails :

╭─x@titanii ~/tmp  
╰─➤  yt-dlp https://www.youtube.com/watch\?v\=oF_yJcF_SUE
[youtube] Extracting URL: https://www.youtube.com/watch?v=oF_yJcF_SUE
[youtube] oF_yJcF_SUE: Downloading webpage
[youtube] oF_yJcF_SUE: Downloading tv client config
[youtube] oF_yJcF_SUE: Downloading tv player API JSON
[youtube] oF_yJcF_SUE: Downloading web safari player API JSON
[youtube] oF_yJcF_SUE: Downloading player 0004de42-main
[youtube] oF_yJcF_SUE: Downloading m3u8 information
[info] oF_yJcF_SUE: Downloading 1 format(s): 137+251
[download] Sleeping 2.00 seconds as required by the site...
ERROR: unable to download video data: HTTP Error 403: Forbidden
1 Like

Funny. Exact same command works on my openSUSE.