added log statement
This commit is contained in:
parent
c18ab65a7d
commit
3959aff10e
@ -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.
|
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]}'
|
url = f'{BASE_URL}/{ticker_symbol}/financials{FIN_STMT_URL_SUFFIX[statement]}'
|
||||||
if quarterly:
|
if quarterly:
|
||||||
url += '/quarter'
|
url += '/quarter'
|
||||||
|
Loading…
Reference in New Issue
Block a user