ooples / OoplesFinance.YahooFinanceAPI

A .NET API wrapper for Yahoo Finance that allows users to get top trending stocks, historical stock data, stock splits, dividends, capital gains, and much much more!
Apache License 2.0
47 stars 10 forks source link

OoplesFinance is unable to access v10 yahoo api #72

Open jeanhibbert opened 5 months ago

jeanhibbert commented 5 months ago

After the loginResponse is received from "https://login.yahoo.com/", there are no headers with ""domain=.yahoo.com", so no cookie is set for the request to ""https://query1.finance.yahoo.com/v1/test/getcrumb" which then results in a 401 when attempting to get the crumb. I will be attempting to hardcode a cookie later today after I login in to the yahoo site and see if that works. I think your Crumbhelper may not be working because I am in the UK?

github-actions[bot] commented 3 months ago

Stale issue message

ooples commented 1 month ago

@jeanhibbert I did research and discovered that the reason why you are getting these errors compared to everyone else is because there is an EU consent that needs to be accepted before you get the proper cookie. You can reach me privately via email and I can help you look into a possible workaround for your issue but was able to confirm this behavior with a friend of mine that also falls under the EU compliance.