From 99b2de7b51a77ef883a8ab0e2bfdb2cb8d19ce25 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Thu, 5 Mar 2015 21:48:01 +0100 Subject: Capure logging for InsecureRequestWarning (https). --- pyaggr3g470r/lib/crawler.py | 1 + 1 file changed, 1 insertion(+) (limited to 'pyaggr3g470r/lib') diff --git a/pyaggr3g470r/lib/crawler.py b/pyaggr3g470r/lib/crawler.py index 64ef8b6d..68a7efd0 100644 --- a/pyaggr3g470r/lib/crawler.py +++ b/pyaggr3g470r/lib/crawler.py @@ -26,6 +26,7 @@ from requests_futures.sessions import FuturesSession from pyaggr3g470r.lib.utils import default_handler logger = logging.getLogger(__name__) +logging.captureWarnings(True) API_ROOT = "api/v2.0/" -- cgit