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.
Show HN: Tube – Minimalist YouTube
111–116 of 116 posts
Re: Show HN: Tube – Minimalist YouTube
#112For 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…
You don't want the people who make the content you enjoy to earn a living doing that?
Re: Show HN: Tube – Minimalist YouTube
#113This 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.
Re: Show HN: Tube – Minimalist YouTube
#114Earlier 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…
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
#115Re: Show HN: Tube – Minimalist YouTube
#116For 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…