Video in webm format your web browser or operating system does not support free video codecs :( A url list to get you started Andreas Kling In order to execute the macros, you type, then v or whatever other letter you set the macro to. This is a demo of using newsboat with videos. Macro a set browser "yt-dlp -embed-metadata -xic -f bestaudio/best" open-in-browser set browser linkhandler Video demo Macro d set browser "yt-dlp" open-in-browser set browser linkhandler Macro v set browser "setsid -f mpv" open-in-browser set browser linkhandler In order to play videos, we need to add some macros to the newsboat config file at ~/.config/newsboat/config Newsboat only reads the first field of every row so the channel name can be kept for easier subscription management. Doing a sed 's/channel//feeds/videos.xml?channel_id=/g' on the file is an easy way to replace the website URL with the feed url. If you have an exported CSV, you can easily modify it so that newsboat will accept it as a list of URLs by deleting row 1, column 1+comma, and replacing the comma between the URL and channel name with a tab character. You can make separate URL lists for your list of videos and list of standard text based RSS feeds Every url we add to this list will be automaticlly fetched. Newsboat reads it’s list of URLs from ~/.config/newsboat/urls. UCLEoyoOKZK0idGqSc6Pi23w, - The Cave Newsboat url list The export format is a CSV that contains the channel IDs for all of our subscriptions. Google takeout can also be used to export youtube subscriptions. In order to turn this channel ID into something useful, we create the following URL: All youtube channel IDs start with the string UC so we can easily grep for them. Other times, the URL contains the channel ID. Sometimes channels have vanity URLs that can make it difficult to find the channel ID. Youtube (currently) provides RSS feeds for channels. $ sudo $pkgmrg install newsboat mpv yt-dlp Getting RSS feeds from youtube I like mpv but you can substitute your own. I also use yt-dlp to download videos for later viewing. The only dependencies not on a standard UNIX system are newsboat and a video player. RSS is my favorite way of aggregating things that other people have made because it allows me, the user, to interact with their things I prefer to consume my videos in the same way I consume everything else: via RSS. Bright colors, distracting thumbnails, peanut galleries, etc. I find that the youtube web ui is designed to keep users on the site by feeding them an unending stream of information. Hosted by binrc on Friday is flagged as Explicit and is released under a CC-BY-SA license. Hpr3695 :: How I watch youtube with newsboat Using youtube's channel RSS feeds to watch youtube from the command line skip to main content Hacker Public Radio Your ideas, projects, opinions - podcasted.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |