Ignore bs4 warning

This commit is contained in:
AdeHub
2024-12-07 09:55:00 +13:00
parent 2d5102d29c
commit 94d62430a0

View File

@@ -23,6 +23,9 @@ from headphones import logger
import feedparser
import headphones
import headphones.lock
from bs4.builder import XMLParsedAsHTMLWarning
import warnings
warnings.filterwarnings("ignore", category=XMLParsedAsHTMLWarning)
# Disable SSL certificate warnings. We have our own handling