Live data from Hacker News

You-get: Dumb downloader that scrapes the web

github.com

81–90 of 154 posts

Re: You-get: Dumb downloader that scrapes the web

#81

Earlier quoted context omitted.

I can get this, but I aggressively report accounts and issues. I'm not sure how GitHub handles them but they seem to not come back. Though what I'm unsure how to deal with is legitimate users being idiotic. For example, recently one issue was opened that asked where the source code was. Not only was there a directory named "src" but there were some links in the readme to specific parts. While I do appreciate GitHub a…

The solution is to ignore them and close their issue. Open source maintainers have enough to worry about and are unpaid, it's okay to be a little dictatorial when it comes to "bad questions".

That's not a solution.

It addresses the specific issue but does nothing to prevent future similar issues. A solution to a cold is not handing someone a tissue.

I like that these platforms are open to everyone but at the same time there are a lot of people who have no business participating. Being able to filter those people out is unfortunately a necessary tool to not get overloaded.

Worse, I find that due to this many open source maintainers and up being quick to close issues and say rtfm. I can't tell you how many times I've had this happen where in my opening issue I quote the fm and even include a reproducible test. It's also common to just close and say "not our problem".

Re: You-get: Dumb downloader that scrapes the web

#82
post #61
post #46

Earlier quoted context omitted.

That’s the -F option to list all the formats, including the audio streams. Pick the audio format with -f to download the audio. I usually pick the .m4a format and then run it through ffmpeg to convert to mp3.

Same but I converted to Opus, because I was trying to squeeze it into as little bandwidth as possible. It was mostly speech content and Opus auto detects and optimizes for speech at low nitrates.

You can download the Opus directly with -f 249 / 250 / 251 (~48kbps / ~80kbps / ~128 kbps respectively, but youtube don't always make them all available, where are -f 140 for the ~128kbps AAC (.m4a) is always available, and often the format code 139 (~48kbps) - the lower bitrates being adequate for most speech based content.

Re: You-get: Dumb downloader that scrapes the web

#83

I’m not sure I understand why Bandcamp is on the list of supported sites: they allow you to just download the files on the condition you first pay the artist for them. The fact you can download it with this tool is because the artist is letting you listen to it for free before buying it. Downloading it with this tool seems totally unnecessary and a bit of a jerk move. Bandcamp hosts mostly small and independent artis…

At what income level do pirates consider it immoral/moral to pirate something?

Re: You-get: Dumb downloader that scrapes the web

#84

I’m not sure I understand why Bandcamp is on the list of supported sites: they allow you to just download the files on the condition you first pay the artist for them. The fact you can download it with this tool is because the artist is letting you listen to it for free before buying it. Downloading it with this tool seems totally unnecessary and a bit of a jerk move. Bandcamp hosts mostly small and independent artis…

Not all of us agree that artists should charge for their products.

Re: You-get: Dumb downloader that scrapes the web

#85
post #47

Earlier quoted context omitted.

What’s the point of converting it to mp3? AAC inside an m4a container usually has better sound quality than similarly compressed mp3, and definitely better than reencoding.

MP3 is accepted by far more players.

But why not just download the mp3 then?

Re: You-get: Dumb downloader that scrapes the web

#86
post #47

Earlier quoted context omitted.

What’s the point of converting it to mp3? AAC inside an m4a container usually has better sound quality than similarly compressed mp3, and definitely better than reencoding.

MP3 is accepted by far more players.

Which players only accept mp3? Maybe this was true in the early 2000s

Re: You-get: Dumb downloader that scrapes the web

#88
post #55

Another library released which lies about what it is to circumvent anti-bot security. Let's just not act surprised when tighter attestation comes in effect.

A future in which YouTube will refuse to stream you data because you didn't pass client attestation is definitely coming and I wish we could stop it. It is a dark future where some of us will accept it, and rest of us will be constantly taking part in a cat-mouse chase in which we glitch out attestation tokens from vulnerable devices to get by.

Can you describe in a little more detail what exactly client attestation is, and why you would need other devices to achieve it?

Re: You-get: Dumb downloader that scrapes the web

#89
post #56

Earlier quoted context omitted.

That's really unnecessarily complicated workflow you have. It's achievable by yt-dlp with just 3 flags: --extract-audio --format bestaudio --audio-format mp3

you're unnecessarily making huge assumptions. Some people don't want the bestaudio or mp3

> then run it through ffmpeg to convert to mp3.

> Some people don't want [...] mp3

Re: You-get: Dumb downloader that scrapes the web

#90
post #41

For a while I had expensive internet and low bandwidth, but I loved listening to music and lectures on YouTube. At some point I realized that getting only the audio stream would save me 90% in bandwidth costs. [0] youtube-dl (and yt-dlp) has a flag, I believe -G, which gives you the URL(s) for the requested format/quality. I used the command line on my computer and put the link in VLC. On my phone I had this elaborat…

Just switching tabs will dramatically lower energy usage without using any scripts. I assume the YouTube video player may download and just drop the video information if not showing it, no need to render decrypt the video stream.
Post reply on HN