From 3959aff10e5fe27336827b75408937d5947f44c2 Mon Sep 17 00:00:00 2001 From: Daniil Fajnberg Date: Fri, 3 Dec 2021 16:01:00 +0100 Subject: [PATCH] added log statement --- src/mwfin/functions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mwfin/functions.py b/src/mwfin/functions.py index cc6f745..8ca656b 100644 --- a/src/mwfin/functions.py +++ b/src/mwfin/functions.py @@ -88,6 +88,7 @@ async def _get_single_company_fin_stmt(statement: str, ticker_symbol: str, quart """ Returns data from the specified financial statement of the specified company. """ + log.info(f"Scraping {statement} for {ticker_symbol}") url = f'{BASE_URL}/{ticker_symbol}/financials{FIN_STMT_URL_SUFFIX[statement]}' if quarterly: url += '/quarter'