Skip to content

Instantly share code, notes, and snippets.

View aaronclimbs's full-sized avatar
🏠
Working from home

Aaron Keisler aaronclimbs

🏠
Working from home
View GitHub Profile

Keybase proof

I hereby claim:

  • I am aaronclimbs on github.
  • I am akeisler (https://keybase.io/akeisler) on keybase.
  • I have a public key ASD5i0EGYE7Ujvf7l9UjfLfaP4GrJYR-K07w_nNp1BfYdQo

To claim this, I am signing this object:

// Apologies for the hacky nature of the below - it was just bothering me so I threw this together for myself.
// I used this in firefox, just go to the manage subscriptions page in youtube and run it in the developer console. It should work in chrome as well, I forget if there is a different browser function to copy to the clipboard.
// After running it, just paste it into a file and save it with a '.ompl' extension.
function youTubeToOPML() {
output = '<?xml version="1.0" encoding="UTF-8"?>\n<opml version="1.0">\n<head>\n<title>Feed Subscriptions</title>\n</head>\n<body>\n<outline title="Youtube Subscriptions" text="Youtube Subscriptions">';
arrOfATags = [...document.querySelectorAll('a#main-link')];
rss = arrOfATags.forEach(item => {
@aaronclimbs
aaronclimbs / ytRSSForNewsboat
Last active January 20, 2021 16:24
hacky way to get properly formatted and tagged (for my newsboat workflow) RSS feeds from youtube
// Apologies for the hacky nature of the below - it was just bothering me so I threw this together for myself.
// I used this in firefox, just go to the manage subscriptions page in youtube and run it in the developer console. It should work in chrome as well, I forget if there is a different browser function to copy to the clipboard.
function getNewsboatRSS() {
arrOfATags = document.querySelectorAll('a#main-link');
rss = arrOfATags.map(item => {
const output = {
channelID: "",
title: "",