downloading youtube videos

For interesting topics. But remember this is a Linux Forum. Do not post offensive topics that are meant to cause trouble with other members or are derogatory towards people of different genders, race, color, minors (this includes nudity and sex), politics or religion. Let's try to keep peace among the community and for visitors.

No spam on this or any other forums please! If you post advertisements on these forums, your account may be deleted.

Do not copy and paste entire or even up to half of someone else's words or articles into posts. Post only a few sentences or a paragraph and make sure to include a link back to original words or article. Otherwise it's copyright infringement.

You can talk about other distros here, but no MX bashing. You can email the developers of MX if you just want to say you dislike or hate MX.
Message
Author
User avatar
siamhie
Global Moderator
Posts: 3749
Joined: Fri Aug 20, 2021 5:45 pm

Re: downloading youtube videos

#11 Post by siamhie »

yt-dlp & clipgrab. I like to download hour long documentary's to watch on the tele ad-free (YouTube channel on Roku shows the ads).
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.

User avatar
Stevo
Developer
Posts: 14843
Joined: Fri Dec 15, 2006 7:07 pm

Re: downloading youtube videos

#12 Post by Stevo »

pianokeyjoe wrote: Thu Mar 03, 2022 7:29 am clipgrab does not work for me on videos bigger than a few kilobytes for some reason. I use youtubeDL and youtube downloader that use the ytd package from MX repo. I have noticed only youtube downloader downloads fast. The youtubeDL-GUI only downloads at 58kbps for Youtube but fast for other sites. Clipgrab would not work at all or only for tiny files
Well, that's a puzzle. Could you start clipgrab from the terminal and see if any messages appear there when it fails to grab?

User avatar
pianokeyjoe
Posts: 420
Joined: Thu Jan 31, 2019 11:08 am

Re: downloading youtube videos

#13 Post by pianokeyjoe »

Huh!? Was clipgrab updated with a better backend recently?? It works now and goes real fast! Last time I tried this was back in Summer or Spring of 2021. Ah well! YAY! Clipgrab works! Here is a snippet of what has happened in the terminal that has worked though there are some errors:

Code: Select all

$ clipgrab https://www.youtube.com/watch?v=IGH1BitjcgE
Gtk-Message: 20:26:25.042: Failed to load module "atk-bridge"
QObject::connect: signal not found in QTreeView
  OpenType support missing for "Segoe UI", script 12
  OpenType support missing for "Segoe UI", script 13
Found youtube-dlp  "2021.12.27"
Discovered video:  "The Next 48 Hours... Be Ready"
"/home/linux/Desktop" "The Next 48 Hours... Be Ready"
"[youtube] IGH1BitjcgE: Downloading webpage\n"
"[youtube] IGH1BitjcgE: Downloading android player API JSON\n"
"[info] IGH1BitjcgE: Downloading 1 format(s): 22\n"
"[download] Destination: /tmp/cg-youtube-dl-IGH1BitjcgE-22.mp4\n"
Pianokeyjoe
Intel i5 3.10ghz ,8GB ram, Intel onboard everything, 500GB HDD, MX-LINUX 19.3 :penguin:

User avatar
figueroa
Posts: 1106
Joined: Thu Dec 20, 2018 11:20 pm

Re: downloading youtube videos

#14 Post by figueroa »

yt-dlp is a good alternative to youtube-dl.
Andy Figueroa
Using Unix from 1984; GNU/Linux from 1993

User avatar
pianokeyjoe
Posts: 420
Joined: Thu Jan 31, 2019 11:08 am

Re: downloading youtube videos

#15 Post by pianokeyjoe »

youtube-dlp! Thats what I have that is working now ok! Or yt-dlp? My messages above show youtube-dlp. Now here is the kicker; Now clipgrab works for me where it did not in Spring/Summer 2021, and of course the youtube downloader gui that goes with youtube-dlp from what was testing back then. Now I still have and use the old YoutubeDL-GUI app that was used and coupled with the old youtube-dl that no longer downloads fast with youtube.com but DOES work well with other sites! Why I still use that older app? Cause you can queue up tons of videos to download, and then click the download button when you are ready to fill up you hard drive lol. The newer youtube downloader gui seems to only allow ONE download at a time and even though I choose mp4 as my output, it sometimes outputs webm or mkv. I guess since 2022 came around, we now have more choices interfaces that work with yt-dlp/youtube-dlp, that it is now purely about what suites you best for your particular download needs, and not just "this is what you have, be happy you even have that" sort of thing we were having to deal with not long ago.
Pianokeyjoe
Intel i5 3.10ghz ,8GB ram, Intel onboard everything, 500GB HDD, MX-LINUX 19.3 :penguin:

User avatar
Stevo
Developer
Posts: 14843
Joined: Fri Dec 15, 2006 7:07 pm

Re: downloading youtube videos

#16 Post by Stevo »

Yes, Clipgrab 3.9.7 switched to an internal yt-dlp to fix the exact issue you reported. Currently, it's good.

rosie

Re: downloading youtube videos

#17 Post by rosie »

There's also media-downloader.

User avatar
handy
Posts: 614
Joined: Mon Apr 23, 2018 2:00 pm

Re: downloading youtube videos

#18 Post by handy »

I use the terminal & a bash alias to run a tiny little script I wrote, that asks you to input the url of the vid, then you hit enter which calls youtube-dl & tells it to downloads the vid to the location that you've set in the ~/.config/youtube-dl/config , which is just one line (in my case) that tell youtube-dl where to put the vid & in & how to package it (.mkv or mp4).

Its probably the most common thing that I do in my terminal these days, so I usually just have to hit the up cursor key once or twice to see "dv" (that's the alias), hit enter, which asks for the url, then ctrl shift v , to paste in the url , hit enter & the vid then starts downloading.

Works for me (for quite a few years now... :) )
MSI: MAG B560 TORP', i5, RAM 16GB, GTX 1070 Ti 12GB, M2 238GB + USB, MX-23 Fb to Openbx
Lenovo: Ideapad 520S, i5, RAM 8GB, GPU i620, HDD 1TB, MX-23 Fb - Openbx
Clevo: P150SM-A, i7, RAM 16GB, nVidia 8600, 2x 1TB HDD & M.2 256 GB, MX-23 Fb - Openbx

User avatar
davidy
Posts: 818
Joined: Sat Jul 03, 2021 1:59 pm

Re: downloading youtube videos

#19 Post by davidy »

Shoots if clipgrab was fixed that's awesome. I've been using newpipe on my phone, uploading to my nas and then downloading to my laptop. Installing now... fingers crossed. Works so far. sweet
Sys76 LemurPro-mx-23.4, EliteMinis HM90-mx-21.3, Deskmini UM350-phoenixLite win10, Qnap 12tb nas, Protectli FW4C-opnsense(=゜ω゜)

zero privacy = zero security . All MX'd Up
UAP = up above people

tha76
Posts: 13
Joined: Wed Mar 30, 2022 4:29 am

Re: downloading youtube videos

#20 Post by tha76 »

pianokeyjoe wrote: Thu Mar 03, 2022 7:29 am I use youtubeDL and youtube downloader that use the ytd package from MX repo.
What exactly are you referring to?

Post Reply

Return to “General”