diff --git a/database_caller.py b/database_caller.py index 8313261..4700ac9 100755 --- a/database_caller.py +++ b/database_caller.py @@ -124,8 +124,8 @@ def updateStocksPrePost(api_key, logf): stock_info = all_stocks_settings['symbols'] symbols = list(stock_info.keys()) - prepost_url = 'https://query2.finance.yahoo.com/v6/finance/quote?symbols=' - + #KEEP THIS JUST IN CASE V7 GOES DOWN prepost_url = 'https://query2.finance.yahoo.com/v6/finance/quote?symbols=' + prepost_url = 'https://query2.finance.yahoo.com/v7/finance/quote?symbols=' for symbol in symbols: prepost_url += symbol + ','