Skip to content

Instantly share code, notes, and snippets.

@AdrianKoshka
Created January 24, 2016 04:24
Show Gist options
  • Save AdrianKoshka/7c865552824910ee1792 to your computer and use it in GitHub Desktop.
Save AdrianKoshka/7c865552824910ee1792 to your computer and use it in GitHub Desktop.
Some instructions on managing youtube subs via newsbeuter

Getting your OPML file from youtube

  1. Go to youtube
  2. Go to Subscriptions
  3. Scroll down to bottom and press the Export Subscriptions button
  4. Download the file

or

  1. Just press THIS (should work)
  2. Download the file

Configuring newsbeuter

  • In your shell config file e.g. ~/.shrc, ~/.bashrc or ~/.zshrc add the following line:
alias youbeuter="newsbeuter -u $HOME/.newsbeuter/youtubeurls -c $HOME/.newsbeuter/youcache.db"
# You can name the alias and other fields whatever you want...I just have what I put in my .zshrc
  • Before we fire up our shiny new alias do:
$ touch ~/.newsbeuter/youtubeurls
$ touch ~/.newsbeuter/youcache.db
$ newsbeuter -u $HOME/.newsbeuter/youtubeurls -c $HOME/.newsbeuter/youcache.db -i subscription_manager
$ # or whatever you named the OPML file you downloaded

Using youbueter

$ youbueter
$ # you should open a new terminal to do this so your shell config file reloads

Then this should load up a newsbeuter with ALL of your subscriptions inside, have fun!

Why do this?

  • Keeps your youtube sub list OUT of your main newsbeuter list
  • Because you can
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment