Live data from Hacker News

YouTube-dl: Open-source YouTube downloader

rg3.github.io

151–160 of 338 posts

Re: YouTube-dl: Open-source YouTube downloader

#152
post #75

Here's something i've added to my .bashrc that lets me type in simply 'play ' using youtube-dl and mplayer (I forget where I found this gem, and sorry for weird formatting, won): function play { youtube-dl --default-search=ytsearch: \ --youtube-skip-dash-manifest \ --output="${TMPDIR:-/tmp/}%(title)-s%(id)s.%(ext)s" \ --restrict-filenames \ --format="bestaudio[ext!=webm]" \ --exec=mplayer -vvv "$*" } play rick astley…

One very minor annoyance I had was using it with BBC iPlayer. It works, but downloads the video as many dozens of tiny parts to reassemble. Since I use ~/Desktop as my default downloads folder, I created this to keep my desktop uncluttered while it runs: ytdl() { mkdir /tmp/ytdl && cd /tmp/ytdl for item in "$@" ; do youtube-dl "$@" ; done ; mv /tmp/ytdl/* ~/Desktop/ rm -rf /tmp/ytdl exit } Now I can Ctrl + Alt + T a…

Wouldn't get_iplayer be simpler?

http://www.infradead.org/get_iplayer/html/get_iplayer.html

Re: YouTube-dl: Open-source YouTube downloader

#153

Earlier quoted context omitted.

Absolutely. I'm also an example of that. 15 years ago it was difficult to see my PC tower closed and without the entrails exposed, I was always trying strange Linux distributions and stuff like BSD or BeOS, and I configured everything I could in OSs and programs. Now, if my hardware fails I just call tech support, I mostly use Windows, I almost never spend more than 5 minutes configuring anything, and any program I n…

It has nothing to do with lazyness for me. When I was young I wasn't getting money for tinkering with hardware, neither for programming. Nowdays I get lots of money for programming...guess which of the 2 I'm doing more

For me it's about time. When I was a kid / teenager I had tons of free time for experimenting, and I didn't really care much for school. Now that I'm employed, I feel like those 8 hours are in fact the whole day. So I have less patience for things that are only tangential to the goal I'm trying to achieve.

Re: YouTube-dl: Open-source YouTube downloader

#154

i love youtube-dl. i've been interested in doing the same with soundcloud, but i have no idea how to go about learning how their streaming works. any advice for where to start?

Some useful hints here: https://github.com/rg3/youtube-dl/blob/master/youtube_dl/ext...

Re: YouTube-dl: Open-source YouTube downloader

#155

Earlier quoted context omitted.

> It's not easy because it's an command line. > Not a single family member would touch this here. > It's sad but understandable. I can understand why many people will avoid using commandlines. The part I don't understand is how they're quite comfortable when those commandlines are surrounded by "Forward", "Back", "Stop" and "Reload" buttons; or when they have an "I'm feeling lucky" button underneath. In the case of t…

> I can understand why many people will avoid using commandlines. The part I don't understand is how they're quite comfortable when those commandlines are surrounded by "Forward", "Back", "Stop" and "Reload" buttons; or when they have an "I'm feeling lucky" button underneath. Are you sure you apprehend the differences between the look and feel of a browser and that of a command line?

So then someone should create a dynamic hybrid console-browser.

Take, Chrome, flip it such that the input bar is on the bottom, and allow it to display console output as HTML.

Or, hell, keep it the way it is and just run the console HTML downward; why maintain the current terminal layout at all...

Re: YouTube-dl: Open-source YouTube downloader

#156

Earlier quoted context omitted.

Depends on the family. My mom taught me DOS.

This is true, while my mom never taught me too much she still did plenty in DOS. My dad on the other hand... He has an iPhone but would be happy with a flip phone, he uses the exact same amount of functionality that both phones carry, only difference being he has to touch his screen.

Off topic but just want to say, Apple knows there are many people like this, and the 16GB models are designed for them. I tire of seeing whines about 16GB being not enough. We the tech people are siloed in our own bubble and we often can't comprehend the existence of such people, unless they are our family members/close friends.

Re: YouTube-dl: Open-source YouTube downloader

#157
post #28

The tragedy of this software (and many like it) is that despite working exactly as advertised, easily and with a lot of features, because it's a quiet open source project without any SEO rigging it will never appear in page 1 of any searches by laymen trying to download videos ("save youtube to hard drive", "download youtube videos" et al). The amount of crapware I've had to remove from family member's PCs just becau…

I don't think it's a tragedy because if it was very popular and easy to use YouTube would likely block it. It's directly competing with their own YouTube Red. Also look at popular Linux distros like Ubuntu. As soon as they reach mass market they lose what made them special to begin with and start experimenting with advertising and so on.

Is it really possible to block youtube-dl? All it does is the same thing Youtube's own HMTL5 player does, except that it saves the video instead of playing it back.

Re: YouTube-dl: Open-source YouTube downloader

#158
YouTube needs a "download" button; love this code, it works like magic, but for the average user the real answer is that YouTube needs a way to download a video; otherwise, YouTube is just enabling all the 3rd party sites that exploit YouTube making it easy to "hack" a way to download the files, but hard for the average user who ends up getting malware to download the video.

Re: YouTube-dl: Open-source YouTube downloader

#159
post #28

The tragedy of this software (and many like it) is that despite working exactly as advertised, easily and with a lot of features, because it's a quiet open source project without any SEO rigging it will never appear in page 1 of any searches by laymen trying to download videos ("save youtube to hard drive", "download youtube videos" et al). The amount of crapware I've had to remove from family member's PCs just becau…

I don't think it's a tragedy because if it was very popular and easy to use YouTube would likely block it. It's directly competing with their own YouTube Red. Also look at popular Linux distros like Ubuntu. As soon as they reach mass market they lose what made them special to begin with and start experimenting with advertising and so on.

> Also look at popular Linux distros like Ubuntu. As soon as they reach mass market they lose what made them special to begin with and start experimenting with advertising and so on.

Well, ubuntu is a company. It was always their intention to become profitable at some point, even if they were willing to operate at a loss to build their market.

I very much doubt debian would go the same way if it got the same level of publicity, for example. But then, as the GP said, it's unlikely to happen because they're a community project without a marketing budget.

Re: YouTube-dl: Open-source YouTube downloader

#160

Earlier quoted context omitted.

I don't think it's a tragedy because if it was very popular and easy to use YouTube would likely block it. It's directly competing with their own YouTube Red. Also look at popular Linux distros like Ubuntu. As soon as they reach mass market they lose what made them special to begin with and start experimenting with advertising and so on.

Is it really possible to block youtube-dl? All it does is the same thing Youtube's own HMTL5 player does, except that it saves the video instead of playing it back.

They can change their site around enough to make it not worth the effort to maintain the tool. But it's always a cat-and-mouse game.
Post reply on HN