From ff1b4d8030c922411642d025f53a399a85a5b1fd Mon Sep 17 00:00:00 2001 From: Justin Date: Fri, 21 Apr 2023 00:53:56 +0800 Subject: [PATCH] or maybe not --- database_caller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 + ','