diff --git a/devine/core/__main__.py b/devine/core/__main__.py index 68f1677..cd4e440 100644 --- a/devine/core/__main__.py +++ b/devine/core/__main__.py @@ -4,6 +4,8 @@ from pathlib import Path import click import coloredlogs +import urllib3 +from urllib3.exceptions import InsecureRequestWarning from devine.core import __version__ from devine.core.commands import Commands @@ -29,6 +31,8 @@ def main(version: bool, debug: bool, log_path: Path) -> None: fh.setFormatter(LOG_FORMATTER) log.addHandler(fh) + urllib3.disable_warnings(InsecureRequestWarning) + log.info(f"Devine version {__version__} Copyright (c) 2019-{datetime.now().year} rlaphoenix") log.info("Convenient Widevine-DRM Downloader and Decrypter.") log.info("https://github.com/devine-dl/devine")