Dirk Eddelbuettel
Dirk Eddelbuettel
My decision rule is _much_ simpler: if it affects a package of mine, I correct it (both in the package and by reaching out to upstream which lead to two...
I do too, since yesterday. Similar for another Yahoo! Finance accessor, though the Python package [yfinance](https://pypi.org/project/yfinance/) still works. The cookie/crumb treatments seems to have changed at their end.
This issue in the other (R language) repo referenced above was fixed in [this commit](https://github.com/joshuaulrich/quantmod/commit/c55d41e1c142f854ec9f5c65405da5b699dc173f) setting additional ssl cipher headers. Maybe that's an option here too?
@cinatic Pleasure, always glad to help. I am not that familiar with Python details but I have been told that the switch from the 'request' library to 'curl_cffi' was motivated...
Yes that seems to be the (surprisingly !!) narrow solution for the `quantmod` package I use in R.
There are binaries in the [releases section of the `curl-impersonate` repo](https://github.com/lwthiker/curl-impersonate/releases). But I am scratching my a little whether calling an external process every few seconds is really the best...
Apparently one of the apps that was also broken (R package [quantmod](https://github.com/joshuaulrich/quantmod) and its `getQuote()` function) now [works again](https://github.com/joshuaulrich/quantmod/issues/438#issuecomment-2877788867) which I can confirm. No luck with Stocks Extension though.
@cement-head This should work https://github.com/lwthiker/curl-impersonate/releases
NB `fetchImpersonate.js` is from the patch [suggested above](https://github.com/cinatic/stocks-extension/issues/120#issuecomment-2868454727) using calls to `curlimpersonate`. Anybody have any luck trying other patches now that backend seems to have changed?
One usage pattern is to build (or extend) a container at the time you want to snapshot, tag it appropriately --- and then in the future access that container image....