** Scripts tested in Firefox only!
Log in into your account. Go to https://www.youtube.com/feed/channels and scroll down to load all subscriptions
function download(filename, text) {
var element = document.createElement('a');
element.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(text));
element.setAttribute('download', filename);
element.style.display = 'none';
document.body.appendChild(element);
element.click();
document.body.removeChild(element);
}
var content = $$('#info-section .channel-link').map((e) => `${e.querySelectorAll("yt-formatted-string#text")[0].innerText} | ${e.href}`).join("\n")
download("subscriptions.md", content)
Log in into your account.
Go to https://www.youtube.com/feed/channels and scroll down to load all subscriptions
var elements = $$('#info-section')
for (let i = 0; i < elements.length; i++) {
const element = elements[i];
setTimeout(() => {
element.querySelector("tp-yt-paper-button").click()
setTimeout(() => $('ytd-popup-container .yt-confirm-dialog-renderer yt-button-renderer#confirm-button').click(), 200);
}, 500 * i);
}