Since last night, prices cannot be retrieved from Yahoo Finance.
The failure occurs in Yahoo - Quote.cs in the following method
public async Task<IReadOnlyDictionary<string, Security>> QueryAsync(CancellationToken token = default)
Below, the FlurlHttpException ex is caught.
try
{
data = await url
.WithCookie(YahooSession.Cookie.Name, YahooSession.Cookie.Value)
.GetAsync(token)
.ReceiveJson()
.ConfigureAwait(false);
}
catch (FlurlHttpException ex)
The message in ex contains:
ResponseMessage = {StatusCode: 429, ReasonPhrase: 'Too Many Requests'