ValueRaider

Results 898 comments of ValueRaider

Ah, with `yahooquery` you also need to set user-agent. Look inside `yfinance` source code `data.py` @dpguthrie Might be worth `yq`automatically setting `session` user-agent if missing.

@jsgaston Read the documentation https://yahooquery.dpguthrie.com/guide/

With a little help from GPT here is code to get the crumb: ``` import requests, re, json def get_crumb(): response = requests.get("https://finance.yahoo.com") pat = re.compile(r'window\.YAHOO\.context = ({.*?});', re.DOTALL) match...

> Definitely agree that this package should be a wrapper around the API and return, for the most part, what the underlying data is and not do much more. Then...

I too experience this issue but with non-premium account (basic?). Probably because both `userId` and `crumb` are `None`. [Patch from @ms82494](https://github.com/dpguthrie/yahooquery/files/11511421/login.txt) successfully extracts userId and crumb, but Yahoo not happy:...

**Expected behaviour** List the versions in that range that contain a known vuln, or print the most recent insecure/secure version. So that I, as a package maintainer, can easily specify...

I suspect we are discussing 2 slightly different use cases here, which would expect slightly different behaviour: 1) User deploying software - Use case: can I install this package and...

Some extra flag makes sense.

> Does this also redirect the Cookie and Crumb caching that is performed by the yFinance library? No. > Is there a function for setting the cache location? [Unofficially yes,...

#1774 is only relevant recent change.