changed yfinance link to v6 for now.. v7 is fked

This commit is contained in:
Justin
2023-04-20 22:58:04 +08:00
committed by GitHub
parent c4109f631f
commit 03f0069ee9

View File

@@ -124,7 +124,7 @@ def updateStocksPrePost(api_key, logf):
stock_info = all_stocks_settings['symbols']
symbols = list(stock_info.keys())
prepost_url = 'https://query2.finance.yahoo.com/v7/finance/quote?symbols='
prepost_url = 'https://query2.finance.yahoo.com/v6/finance/quote?symbols='
for symbol in symbols:
prepost_url += symbol + ','