Live data from Hacker News

Youtube.js – full-featured wrapper around YouTube's private API

github.com

111–113 of 113 posts

Re: Youtube.js – full-featured wrapper around YouTube's private API

#112
post #41
post #12

It would be great if this had a CLI tool, so that it could be used as an alternative to yt-dlp. Or a web frontend as an alternative to Invidious, which breaks more often than not. That said, I wouldn't be surprised if Google issues a C&D, or just inevitably breaks it, especially if it uses undocumented APIs.

Its VERY easy to make one. 1. Install NodeJS and NPM (if you don't already have it) 2. Create a new folder 3. Run "npm install youtubei.js@latest" in that folder 4. Create a new file in this folder called ytdl.js (or whatever you like) 5. See section "Downloading videos:" on the github page. Make the contents of the file exactly like that. i.e. just cut/paste that example. 6. Replace line 'Looking for life on Mars -…

Well, sure, but I'd rather have this as part of the official project, instead of me messing with the JS ecosystem, or trusting a 3rd party to do it. It should be trivial for the project maintainers to do this, as you say.

Re: Youtube.js – full-featured wrapper around YouTube's private API

#113

I'm surprised they still support video dislike via API, but have removed it from the user interface... I understand they are likely worried about backwards compatibility with the abundance of client-devices, and not inadvertently breaking some app somewhere, but why not just make it a noop... Unrelated: My treadmill has the absolute worst YT client I've ever used.

YouTube hasn’t removed the dislike button. They have removed the dislike count .

My mistake
Post reply on HN