LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Possible ways to download youtube videos (update)? (https://www.linuxquestions.org/questions/programming-9/possible-ways-to-download-youtube-videos-update-4175604831/)

Xeratul 04-28-2017 12:09 AM

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

ondoho 04-28-2017 02:09 AM

i use youtube-dl

astrogeek 04-28-2017 02:25 AM

+1 for youtube-dl

hydrurga 04-28-2017 02:33 AM

I use the Firefox addon Video DownloadHelper (but now will be having a look at youtube-dl :)).

hydrurga 04-28-2017 02:48 AM

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.

snowday 04-28-2017 08:17 AM

What is the best way to keep youtube-dl up to date on Ubuntu 16.04 LTS?

BW-userx 04-28-2017 09:59 AM

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.

dedec0 04-28-2017 12:20 PM

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 (:

ondoho 04-28-2017 12:23 PM

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". :cool:

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 (Post 5703525)
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.

hydrurga 04-28-2017 12:44 PM

Quote:

Originally Posted by snowpine (Post 5703525)
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.

Xeratul 04-28-2017 01:43 PM

Quote:

Originally Posted by ondoho (Post 5703394)

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.

hydrurga 04-28-2017 02:03 PM

Quote:

Originally Posted by Xeratul (Post 5703675)
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.

dugan 04-28-2017 02:06 PM

I typically just install a random browser extension for downloading Youtube videos.

dugan 04-28-2017 03:06 PM

Quote:

Originally Posted by Xeratul (Post 5703355)
youtube has changed a bit, that allows no longer quvi to work well.

Quote:

Originally Posted by Xeratul (Post 5703675)
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.

Xeratul 04-28-2017 03:19 PM

Quote:

Originally Posted by dugan (Post 5703713)
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?


All times are GMT -5. The time now is 03:26 PM.