From a664855bd12f40c1066be68eca12e3c0214775e8 Mon Sep 17 00:00:00 2001 From: tripleee Date: Sat, 15 Jun 2024 12:49:56 +0300 Subject: [PATCH] Update scrape_chat.py Experimentally add stderr logger for requests to debug issue #103 --- scrape_chat.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scrape_chat.py b/scrape_chat.py index 4fac5ee..afc6473 100644 --- a/scrape_chat.py +++ b/scrape_chat.py @@ -14,6 +14,10 @@ from bs4 import BeautifulSoup +# For debugging issue #103 +requests.packages.urllib3.add_stderr_logger() + + class TranscriptException(Exception): """ Base class for transcript errors