Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yahoo Search no longer working #20

Open
ymyke opened this issue Oct 16, 2023 · 2 comments
Open

Yahoo Search no longer working #20

ymyke opened this issue Oct 16, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@ymyke
Copy link
Owner

ymyke commented Oct 16, 2023

Searching via Yahoo no longer works, i.e., yields no results.

Example:

from tessa.search.yahoo import yahoo_search
res = yahoo_search("apple")
res.p()

Produces only empty buckets/results.

This also causes the test test_yahoo_search_returns_plausible_results to fail.

Presumably the reason is that Yahoo Finance started to redirect to a cookie page when it gets a new visitor/session.

  • How much of a problem is this for tessa users?
  • Is this a problem only in certain markets (e.g., Europe)?
  • What would be a simple solution? What's a simple way to accept cookies in this case from Python and get the session id?
@ymyke ymyke added the bug Something isn't working label Oct 16, 2023
@ymyke
Copy link
Owner Author

ymyke commented Oct 16, 2023

Also, how does yfinance do it?

@ymyke
Copy link
Owner Author

ymyke commented Oct 16, 2023

Problem sees to be intermittent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant