aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/lib
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-03-05 21:48:01 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-03-05 21:48:01 +0100
commit99b2de7b51a77ef883a8ab0e2bfdb2cb8d19ce25 (patch)
treeebf06c3fe64d54c095724ffeed98f4d3546f2088 /pyaggr3g470r/lib
parentBug fix: 'sqlalchemy.exc.DataError: (DataError) LIMIT must not be negative' w... (diff)
downloadnewspipe-99b2de7b51a77ef883a8ab0e2bfdb2cb8d19ce25.tar.gz
newspipe-99b2de7b51a77ef883a8ab0e2bfdb2cb8d19ce25.tar.bz2
newspipe-99b2de7b51a77ef883a8ab0e2bfdb2cb8d19ce25.zip
Capure logging for InsecureRequestWarning (https).
Diffstat (limited to 'pyaggr3g470r/lib')
-rw-r--r--pyaggr3g470r/lib/crawler.py1
1 files changed, 1 insertions, 0 deletions
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/"
bgstack15