added log statement

This commit is contained in:
Daniil Fajnberg 2021-12-03 16:01:00 +01:00
parent c18ab65a7d
commit 3959aff10e
1 changed files with 1 additions and 0 deletions

View File

@ -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'