Live data from Hacker News

YouTube-dl: Open-source YouTube downloader

rg3.github.io

251–260 of 338 posts

Re: YouTube-dl: Open-source YouTube downloader

#252
post #102

Earlier quoted context omitted.

"We also provide a Windows executable that includes Python." I read this as not having to install python for it to work. I think some powershell commands that have required arguments start interactively prompting the user for values for those arguments if they aren't specified on the command line. That would probably work: 1. Download youtube-dl.exe 2. double-click 3. youtube-dl.exe notices the lack of url as argumen…

That may be correct, but the download page explicitly says "Remember youtube-dl requires Python version 2.6, 2.7, or 3.2+ to work." and links to python's website. I tried renaming Python.exe and it still worked, so I have no idea what's up with it.

youtube-dl.exe does not need a separate Python installation.

Re: YouTube-dl: Open-source YouTube downloader

#254
post #60

Earlier quoted context omitted.

I'd have more sympathy if youtube hadn't removed the "preloading" feature on the android app - I was an avid user of this feature for train journeys where I have little signal. Now I'm using downloaders. These sort of violations are always of the company's own making.

From https://www.youtube.com/red : "Enjoy videos without ads–and in the background or offline on mobile devices"

Also "YouTube Red is not currently available in Argentina."

Re: YouTube-dl: Open-source YouTube downloader

#256
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…

Have you considered opening an issue? Using the current directory as a temp directory seems like something that should be fixed, or at least made configurable.

Re: YouTube-dl: Open-source YouTube downloader

#257
If you want a button built into youtube's webpages in Chrome this will do too. I believe there are other projects that do similar things but many aim at doing much more (mine is solely for the little download button which offers all the video/audio formats that youtube-dl does).

https://github.com/bradlys/monochromatic-panda

Re: YouTube-dl: Open-source YouTube downloader

#258
post #167

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?

Soundcloud is on the list of supported sites for youtube-dl and has worked perfectly for quite a while (unless Soundcloud broke something in the last few months).

I first added Soundcloud support to youtube-dl when I was in college. Good times!

Re: YouTube-dl: Open-source YouTube downloader

#259

Earlier quoted context omitted.

Well, I guess I cause a LOT of bad rankings for sites. I tend to just open a lot of results in different tabs, then go through them one by one.

Yeah, me too. My typical pattern when doing a search is to quickly middle-click the first three or four promising-looking results and look through those, and if that wasn't enough, go back for more.

I generally do the same thing, rarely do I get a hit with the first link.

Re: YouTube-dl: Open-source YouTube downloader

#260
post #35

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.

Depends on the family. My mom taught me DOS.

My parents bought me my C64. I'll always be thankful for that and therefore will remain calm helping them out in this mad digital world they don't understand at all.
Post reply on HN