Live data from Hacker News

Show HN: Tube – Minimalist YouTube

tube.quinzel.tech

111–116 of 116 posts

Re: Show HN: Tube – Minimalist YouTube

#111

Earlier quoted context omitted.

Can you post this somewhere? Maybe a Github Gist?

As requested, see https://news.ycombinator.com/user?id=textmode Example usage: argv0 22 file Where argv0 is the name of the script. Where 22 is itag no. for HD mp4. 18 is itag no. for a lower quality mp4. Will save video as file.mp4 If get HTTP 302, then retry. If get HTTP 403, then retry or give up; video is probably commercial in nature and has restrictions.

That links to your user profile. Wrong link?

Re: Show HN: Tube – Minimalist YouTube

#112

For some time I've been tinkering with a script which manages my own fine-grained youtube subscription preferences, periodically scrapes various pages for metadata, and then as necessary extracts videos by using the youtube-dl utility. The end result is a directory on my machine which always has a few interesting videos to watch, ad-free, tracking-free, network connection free, using my favorite full-featured video p…

> ad-free

You don't want the people who make the content you enjoy to earn a living doing that?

Re: Show HN: Tube – Minimalist YouTube

#113

This does not work for me. No matter what I search for I get the same results, namely, Marvel Studios' Avengers, Ed Sheeran, One Direction, etc.

I went back and tried it again a day later, and now it works -- it finds videos related to the topic I search for. Whatever the problem was, the author has now fixed it.

Re: Show HN: Tube – Minimalist YouTube

#114
post #104
post #98

Earlier quoted context omitted.

You don't need to scrap the page, YouTube provides the RSS stream for each channel: ` https://www.youtube.com/feeds/videos.xml?channel_id=[ID]` . The RSS contains the "normal" link of each video, so you can invoke youtube-dl or mpv on it.

> You don't need to scrap the page They do if they are scraping playlists. Youtube assumes that when creators make a playlist, they’ll add videos to the top. As such, the RSS for a playlist[1] always returns just the top 15 results. But a lot of creators — typically the ones that take greater care into organising their playlists, such as Crash Course[2] — add videos to the bottom of their playlists. Those RSS feeds w…

You can use youtube-dl's archiving feature for that.

I use it regularly on my fairly large music playlist and it goes through all 20 pages just fine despite adding stuff on the bottom occasionally (I sorted it by creation date)

Re: Show HN: Tube – Minimalist YouTube

#116

For some time I've been tinkering with a script which manages my own fine-grained youtube subscription preferences, periodically scrapes various pages for metadata, and then as necessary extracts videos by using the youtube-dl utility. The end result is a directory on my machine which always has a few interesting videos to watch, ad-free, tracking-free, network connection free, using my favorite full-featured video p…

See also mps-youtube, a Python utility installable via pip.
Post reply on HN