Live data from Hacker News

You-get: Dumb downloader that scrapes the web

github.com

91–100 of 154 posts

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

#91

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.

Not everyone agrees supermarkets should charge for groceries.

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

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

Seems like youtube-dl doesn't work anymore. I had to use a fork yt-dlp. Always makes me nervous hopping from one project to another like that, but seems like it's commonly used at least.

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

#94

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.

That gives you the right to be an artist and not charge for your own products, not the right to steal from other artists who have differing beliefs.

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

#95
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.

YouTube doesn’t encrypt the media stream other than TLS. Decoding the video can be skipped though.

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

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

Seems like youtube-dl doesn't work anymore. I had to use a fork yt-dlp. Always makes me nervous hopping from one project to another like that, but seems like it's commonly used at least.

I am using the GUI version on windows https://oleksis.github.io/youtube-dl-gui/

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

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

Seems like youtube-dl doesn't work anymore. I had to use a fork yt-dlp. Always makes me nervous hopping from one project to another like that, but seems like it's commonly used at least.

Yeah, yt-dlp is the successor. I've been using it for years.

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

#98
post #36

Earlier quoted context omitted.

> If they cannot construct a failing test then it's either too hard to mock or reproduce (…), or it's impossible because it's not a bug. Or, you know, the user is not a developer. Or is unfamiliar with Python, or their test suite, or git, or… It is perfectly possible to be good at reporting bugs but be incapable of submitting pull requests.

The problem with popular tools is that they have more bugs that can be fixed. So bug reports are pretty much worthless: You know that there are 1000 bugs out there, but you only have resources to fix 10 of them. By asking users to provide reproducible test cases, you can massively reduce the amount of work you have to do. Of course that means 90% of bugs will never be reported. But since you don't have the resources…

I don't think it's necessarily about fixing those bugs, but I think a lot of times it's more about at least having those bugs be documented in order to raise awareness on (probable) issues down the line for whoever would want to use that project in the future.

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

#99
post #55

Earlier quoted context omitted.

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?

Client attestation is a mechanism for servers to get cryptographic proof from a client about what software the client is running. Modified browsers, or software like yt-dlp, would have a harder time providing such proof. How hard a time would depend on the security hardening of the attestation mechanism. It'd almost certainly be broken, just as most attempts at DRM get broken, but it would be one more speedbump.

There are legitimate purposes for attestation; for instance, server attestation can allow a user to run software on a server and know that software matches a specific build and hasn't been subverted, so that the client can trust the server to do computation on the client's behalf.

But one of the leading uses of client attestation is DRM.

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

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

I often choose 144p for low bandwidth scenarios. It is very similar to a good quality audio-only stream in terms of size, but you get the added benefit of looking at the speaker even if that's a glance every 45 mins. Same for battery life, you save that too.

Also 144p is somehow so peaceful and relaxing to watch, you don't get distracted with all the shiny colors and intricate details in the video and can just listen and not have your mind focus on some random stuff.

Post reply on HN