LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-28-2017, 12:09 AM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,659

Rep: Reputation: 255Reputation: 255Reputation: 255
Possible ways to download youtube videos (update)?


hello,

youtube has changed a bit, that allows no longer quvi to work well.

Let's take this screensaver as example, would you know how to download the vid?
https://www.youtube.com/watch?v=Kcy4Q9On8MM

thank you
 
Old 04-28-2017, 02:09 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
i use youtube-dl
 
1 members found this post helpful.
Old 04-28-2017, 02:25 AM   #3
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,269
Blog Entries: 24

Rep: Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206
+1 for youtube-dl
 
Old 04-28-2017, 02:33 AM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
I use the Firefox addon Video DownloadHelper (but now will be having a look at youtube-dl ).
 
Old 04-28-2017, 02:48 AM   #5
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Please note that, by one of those coincidences in life, some users have reported today that they are unable to download specific videos from YouTube with youtube-dl due to YouTube's changing of some format or another.

A description and fix are available here: https://github.com/rg3/youtube-dl/issues/12885

It just goes to show the importance of keeping youtube-dl as bang up to date as possible to keep up with the ever-shifting sands of the internet.
 
Old 04-28-2017, 08:17 AM   #6
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
What is the best way to keep youtube-dl up to date on Ubuntu 16.04 LTS?
 
Old 04-28-2017, 09:59 AM   #7
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
if you use firefox it got a few if not a lot of different extensions that you can add to it that work just fine and gives you options on file format.
 
Old 04-28-2017, 12:20 PM   #8
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Rep: Reputation: 51
I like to use save-video.com too. These steps are quite easy to remember and to make:

1. Open the video normaly in youtube. It should start playing.

2. Change the domain from "youtube.com" to "linkyoutube.com". Keep the rest of the address intact and ask it.

3. The next clicks will trigger popup and new window ads. Most of them are blocked for me, but I let a few of them open.

4. We have a few options to download each video, and the option to download it as MP3. Finally, it will give us link directly to the official CDN. Just save the link contents (if you need to do something different so your browser does not simply open the file in it, without saving a file that you can keep).

I do not worry about keeping it updated. Someone else take care of that (:
 
Old 04-28-2017, 12:23 PM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
right after i posted this morning i noticed some errors as described.
it seems they fixed it already; that's why i recommended youtube-dl in the first place: they're really fast with fixing issues.
also, my favourite media player mpv integrates it, so i can just issue "mpv https://youtube.some.url".

and, incidentally i tried the windows version today. no problems there either.

an alround double-thumbs-up for youtube-dl!

Quote:
Originally Posted by snowpine View Post
What is the best way to keep youtube-dl up to date on Ubuntu 16.04 LTS?
don't use the version from the repos, just clone it directly from github and run locally, as per README.md.
it's just a python script.
in situations as described in this thread, you can just do a 'git pull' after the fix was committed.

Last edited by ondoho; 04-28-2017 at 12:26 PM.
 
1 members found this post helpful.
Old 04-28-2017, 12:44 PM   #10
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by snowpine View Post
What is the best way to keep youtube-dl up to date on Ubuntu 16.04 LTS?
The getdeb repo (http://www.getdeb.net/welcome/) appears to maintain a pretty much up-to-date version.
 
Old 04-28-2017, 01:43 PM   #11
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,659

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by ondoho View Post
come on, youtube-dl is bloated, I am learning C/C++. It is much better to have an application code in C than an Python.
 
Old 04-28-2017, 02:03 PM   #12
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by Xeratul View Post
come on, youtube-dl is bloated, I am learning C/C++. It is much better to have an application code in C than an Python.
If you had specific requirements as to the programming language used to code the program you were looking for, or wanted to exclude certain programs, perhaps you should have mentioned that in your opening question?

Of course, there's nothing wrong at all with programs being written in Python. C/C++ and Python each have their advantages and disadvantages. What's more important is that a program does the job, and does it well.
 
1 members found this post helpful.
Old 04-28-2017, 02:06 PM   #13
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,249

Rep: Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323
I typically just install a random browser extension for downloading Youtube videos.
 
Old 04-28-2017, 03:06 PM   #14
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,249

Rep: Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323
Quote:
Originally Posted by Xeratul View Post
youtube has changed a bit, that allows no longer quvi to work well.
Quote:
Originally Posted by Xeratul View Post
come on, youtube-dl is bloated, I am learning C/C++. It is much better to have an application code in C than an Python.
I can guarantee you that Quvi would be working right now, if it were written in Python and not C.
 
Old 04-28-2017, 03:19 PM   #15
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,659

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by dugan View Post
I can guarantee you that Quvi would be working right now, if it were written in Python and not C.
You can do the very same in C/C++ ... isn't it?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: youtube-dl – download Youtube videos from linux command Line LXer Syndicated Linux News 0 06-24-2014 12:11 PM
[SOLVED] How to download youtube videos bonixavier Linux - General 5 02-13-2014 10:19 AM
Download youtube videos alaios Linux - Software 4 01-24-2014 03:13 PM
LXer: Youtube-dl - Download videos from Youtube in openSUSE LXer Syndicated Linux News 1 08-14-2008 08:10 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration