From 3aaee3b53c604372c5048249c961bb90e6f55454 Mon Sep 17 00:00:00 2001 From: GeoJulien Date: Tue, 25 Jun 2024 15:22:24 +0200 Subject: [PATCH] improve(http): disable warnings for unverified requests --- mkdocs_rss_plugin/util.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mkdocs_rss_plugin/util.py b/mkdocs_rss_plugin/util.py index b3f3026..812a546 100644 --- a/mkdocs_rss_plugin/util.py +++ b/mkdocs_rss_plugin/util.py @@ -18,6 +18,7 @@ # 3rd party import markdown +import urllib3 from git import ( GitCommandError, GitCommandNotFound, @@ -51,6 +52,7 @@ # ################################ logger = get_plugin_logger(MKDOCS_LOGGER_NAME) +urllib3.disable_warnings() # disable warnings for unverified requests # ############################################################################ # ########## Classes #############