Skip to content

Instantly share code, notes, and snippets.

@Yiannis128
Yiannis128 / nextcloud-theme.css
Last active February 28, 2023 01:22
Updated to 25.0.4
/* Hide the dashboard button from the app menu */
.app-menu-entry[data-app-id="dashboard"]{
visibility: collapse;
}
/*
_________ __ __ _____
\_ ___ \ ____ _____/ |______ _____/ |_ / \ ____ ____ __ __
/ \ \/ / _ \ / \ __\__ \ _/ ___\ __\ / \ / \_/ __ \ / \| | \
\ \___( <_> ) | \ | / __ \\ \___| | / Y \ ___/| | \ | /
@Yiannis128
Yiannis128 / youtube-rss-subscriptions
Last active May 16, 2021 12:24
This is a python script that extracts your YouTube subscriptions into an RSS feed. Simply provide as an argument to the script, the path where you have the html file saved of the https://www.youtube.com/feed/channels make sure to check the whole page is saved because the script can only see the channels that are in that file.
#!/usr/bin/env python3
# Licence: GPLV3
import requests
from bs4 import BeautifulSoup as soup
from sys import argv as argv
from time import sleep
def get_channel_id(url):